# Show 1 post from a specific tag

**URL:** <https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884>\
**Category:** CMS Development\
**Tags:** content\
**Created:** [September 23, 2020, 5:53pm UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884 "2020-09-23T17:53:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![toddlyda](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/toddlyda/32/93181_2.png) [@toddlyda](https://community.hubspot.com/u/toddlyda)\
**Post date:** [September 23, 2020, 5:53pm UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884/1 "2020-09-23T17:53:42Z")

</div>

I’m trying to simply display the most recent post in the specific tag “branding”. I’m using the following but get nothing returned.

{% set tag\_posts = blog\_recent\_tag\_posts(‘default’, branding, 1) %}  
{% for tag\_post in tag\_posts %}  
\<div class=“post-title”\>{{ tag\_post.name }}\</div\>  
{% endfor %}

---

<div class="post-metadata">

**Author:** ![toddlyda](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/toddlyda/32/93181_2.png) [@toddlyda](https://community.hubspot.com/u/toddlyda)\
**Post date:** [September 23, 2020, 6:18pm UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884/2 "2020-09-23T18:18:37Z")

</div>

I got this to work:

\<h4\>Branding\</h4\>  
{% set brands = blog\_recent\_topic\_posts(‘default’, ‘branding’, 1) %}  
{% for brand in brands %}  
\<div class=“row”\>  
\<div class=“col-sm-4”\>  
\<img src=“{{ brand.featured\_image }}” alt=“{{ brand.name }}”\>  
\</div\>  
\<div class=“col-sm-8”\>  
\<h3\>\<a href=“{{ brand.absolute\_url }}”\>{{ brand.name }}\</a\>\</h3\>  
\<p\>{{ brand.post\_summary|striptags|truncate(160, breakword=False, end=‘…’) }}\</p\>  
\<a href=“{{ brand.absolute\_url }}”\>Read More\</a\> \</li\>  
{% endfor %}  
\</div\>  
\</div\>

This includes my extra markup. Looks like I was needing to use blog\_recent\_topic\_posts instead.

---

<div class="post-metadata">

**Author:** ![sharonlicari](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sharonlicari/32/101479_2.png) [@sharonlicari](https://community.hubspot.com/u/sharonlicari)\
**Post date:** [September 24, 2020, 11:32am UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884/3 "2020-09-24T11:32:01Z")

</div>

Thank you for sharing this @toddlyda 🙂

---

<div class="post-metadata">

**Author:** ![MMorisette](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mmorisette/32/69372_2.png) [@MMorisette](https://community.hubspot.com/u/MMorisette)\
**Post date:** [April 6, 2022, 4:04pm UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884/4 "2022-04-06T16:04:47Z")

</div>

You just saved me a bunch of time. Much appreciated.

---

<div class="post-metadata">

**Author:** ![CClaro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cclaro/32/38732_2.png) [@CClaro](https://community.hubspot.com/u/CClaro)\
**Post date:** [August 15, 2022, 6:20am UTC](https://community.hubspot.com/t/show-1-post-from-a-specific-tag/25884/5 "2022-08-15T06:20:18Z")

</div>

Thanks @toddlyda!
