We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jun 13, 2018 9:40 AM
Hi,
I am trying to set up up a drop-down categories filter for our blog as you can see here.
I contacted 'Hubspot Support' and they gave me the code below to use:
<select id="blog-topics"> <option>Filter by topic</option> {% for topic in contents_topics %} <option value="{{ group.absolute_url }}/topic/{{ topic.slug }}">{{ topic.name }}</option> {% endfor %} </select>
As you can see the drop-down displays but it does not work when a category is selected. I assume some code is missing in order to make the drop-down work but I have searched and not found anything.
Thanks for your help!
Jun 25, 2018 5:21 PM
Hello! I saw that you fixed! 🙂 I'm facing the same problem. How did you accomplish it?
Jun 27, 2018 7:35 AM
Hi,
please see this link: https://community.hubspot.com/t5/Content-Design-Questions/Blog-dropdown-topic-filter-not-working/m-p...
Jun 27, 2018 2:10 PM
Thank you!