# Blog dropdown topic filter not working

**URL:** <https://community.hubspot.com/t/blog-dropdown-topic-filter-not-working/9144>\
**Category:** CMS Development\
**Created:** [June 13, 2018, 4:30pm UTC](https://community.hubspot.com/t/blog-dropdown-topic-filter-not-working/9144 "2018-06-13T16:30:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [June 14, 2018, 12:36pm UTC](https://community.hubspot.com/t/blog-dropdown-topic-filter-not-working/9144/4 "2018-06-14T12:36:11Z")

</div>

I would probably use this HUBL instead:

```auto
{% set my_topics = blog_topics('default', 250) %}
<select id="blog-topics">
	<option>Filter by topic</option>
	{% for item in my_topics %}
		<option value="{{ blog_tag_url(group.id, item.slug) }}">{{ item }}</option>
	{% endfor %}
</select>

```

It seems that ‘content\_topics’ might only be getting the list of tags used for the particular blog post you are currently landed on, whereas the above code retrieves the list of all used tags in blog posts. Keep in mind, I say “used” because I think the list will omit unused blog tags.

* * *

[tim@belch.io](mailto:tim@belch.io)

---

_[View the full topic](https://community.hubspot.com/t/blog-dropdown-topic-filter-not-working/9144)._
