Blog Dropdown Filter showing but not working

vjaramillo
Member

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!

0 Upvotes
3 Replies 3
karensantana
Member

Hello! I saw that you fixed! 🙂 I'm facing the same problem. How did you accomplish it?

0 Upvotes
vjaramillo
Member
0 Upvotes
karensantana
Member

Thank you!

0 Upvotes