Post Filter Customization

Hey @kaitlynwells awesome thank you for posting your code and for the additional context. Could you try replacing the code in your module with this? I didn’t realize you were filtering out a few different topics so I changed things around slightly. I think the endfor issue was because of an unclosed quote mark.

{% set my_topics = blog_topics('default', 250) %}
<ul>
{% for item in my_topics %}
{% if item != "Marketplace" and item != "Contract Lifecycle Management Suite" and item != "Aquisition Suite" and item != "Program Management Suite" and item != "Financial Assistance Suite" %}
<li><a href="{{ blog_tag_url(group.id, item.slug) }}">{{ item }}</a></li>
 {% endif %}
{% endfor %}
</ul>

You can add the specific ID for your blog in place of “default” on line one in between the quotes. You can get your blog ID by going to your blog dashboard in the tool (Marketing > Website > Blog) and then choosing which blog you want to use from the top menu. The blog ID should be in the URL (would be the number that isn’t your HubID). Example:

https://app.hubspot.com/blog/**\[Hub ID]/blogs/[Blog ID]**/manage/posts/all