# Content from blog post in custom module

**URL:** <https://community.hubspot.com/t/content-from-blog-post-in-custom-module/93369>\
**Category:** CMS Development\
**Tags:** developer, templates, content\
**Created:** [November 6, 2023, 3:27pm UTC](https://community.hubspot.com/t/content-from-blog-post-in-custom-module/93369 "2023-11-06T15:27:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![t\_one](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@t\_one](https://community.hubspot.com/u/t_one)\
**Post date:** [November 6, 2023, 3:27pm UTC](https://community.hubspot.com/t/content-from-blog-post-in-custom-module/93369/1 "2023-11-06T15:27:08Z")

</div>

Hi.  
I want to create a custom module that displays content from blog post (to be more specific from one of its modules - hero description).

I am new to HubSpot, and tried to search for something in the documentation. I found the content\_by\_id function but from what I can see using | pprint it doesn’t return page content of the blog post.

{% set my\_blog = content\_by\_id(84039805635) %}  
{{my\_blog | pprint}}

Do you have any suggestions on how could I implement this?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [November 7, 2023, 11:44am UTC](https://community.hubspot.com/t/content-from-blog-post-in-custom-module/93369/2 "2023-11-07T11:44:05Z")

</div>

Hi [@t\_one](https://community.hubspot.com/t5/user/viewprofilepage/user-id/656438)

Is hero-description a standard blogs element? If so, you can probably display that on a page using one of HubSpot’s two standard approaches - RSS, or blog listing modules (set to display just 1 post). You can read more about these here: [Printing sets of blog posts on page templates](https://designers.hubspot.com/docs/tutorials/printing-sets-of-blog-posts-on-page-templates)

Hope this helps?
