CMS Development

Filter by
  • All labels
  • Announcement
  • CSS
  • Custom Modules
  • Design Manager
  • Documentation
  • Drag and DropTemplate
  • Email
  • Enterprise
  • Forms
  • Free
  • HTML
  • HubDB
  • Hubl
  • JavaScript
  • Local Development
  • Marketplace
  • Professional
  • Starter
  • Wordpress
Sort by
Most Recent
  • Most Recent
  • Most Upvoted
State
All
  • All
  • Solved
  • Unsolved
  • No Replies Yet
Priyanka178 on April 08, 2024
How to show blog post featured image using 'content_by_id' because it show only 'Post Title', 'Post Url ' But not give featured Image Or How to bind blog post featured image using module field 'page' Blow are my code: <div cla read more
0 upvote
1 Reply
Community Manager
April 08, 2024 11:00
Hi @Priyanka178 , I hope that you are well! Thanks for reaching out to the Community! I found similar threads that might help you: - Featured ...read more
t_one on November 06, 2023
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 funct read more
2 upvotes
1 Reply
Most Valuable Member | Diamond Partner
November 07, 2023 06:44
Hi @t_one Is hero-description a standard blogs element? If so, you can probably display that on a page using one of HubSpot's two standard a...read more
WHarsh on September 28, 2023
I need help moving recently updated/optimized OLD blogs to the top of my blog navigation page. (i.e. for time sensitive/seasonal posts that get updated each year). At the moment, my custom code only allows brand NEW blogs do show up at the top (lef read more
0 upvote
2 Replies
Member
October 02, 2023 15:00
Here's the page: https://www.vanderbeken-remodel.com/snohomish-county-remodeling-blog Here's the code: <!-- templateType: blog_listing isAvail...read more
DEsteva on August 23, 2023
Hello guys! Hope everything's going well. I have an Sticky Global Header set up on my website theme with this CSS: .header { background-color: {{ header_bg_color }}; width: 100%; background-color: #121727; position: fixed; z-index: 100; } And read more
0 upvote
1 Reply
Community Manager
August 25, 2023 13:51
Hi, @DEsteva 👋 I checked the documentation, but didn't find an option or way to change this behaviour. Unless there's a community member with a ...read more
JBlay on July 30, 2023
Hi there - I'm having an issue with the following statement: blog_recent_tag_posts(blog ref #, [ tag(s) ], #-of-posts, operator) In this instance, it is used at the end of a blog post template to pull recent, related posts to the blog po read more
0 upvote
3 Replies
Recognized Expert | Diamond Partner
August 01, 2023 02:51
Hi @JBlay , I totally forgot about the third parameter, couldn't you use the |length directly as the third parameter? Maybe like this; ...read more
Solved
nandinighosh on June 27, 2023
Hi, I'm using the HubSpot default pagination.module to build a blog listing page and test it on a hs domain. I can see the pagination in the "Edit Blog Listing" page, but when I open the live preview, it doesn't show up. Any reccommendations read more
0 upvote
1 Reply
Accepted Solution
Contributor
June 28, 2023 11:33
Solved it! The issue was just populating the blog feed with posts.
EOrlov on June 01, 2023
As stated in docs , JPGs were turned into webP on the server side. I'm afraid, this doesn't work for me. Displaying an article in my browser I download a JPG image and expect, it should be a webP, or a webP with JPG file ending. What I in fac read more
0 upvote
3 Replies
Member | Platinum Partner
June 05, 2023 04:49
All images have content type "image/jpeg"
EOrlov on June 01, 2023
All blog articles in their AMP versions (?hs_amp=true) appear without featured image. Other images remain in their places. How can I get featured images back?
0 upvote
2 Replies
Member | Platinum Partner
June 05, 2023 04:59
Featured image has the size 1232x693, is loaded in the web version and not loaded in the AMP. It is not included in the ressources tab in the AMP va...read more
Solved
ICaceres on April 27, 2023
how we can block LinkedIn cookies using the OneTrust cookie consent banner script? we now, have to use: <script type="text/plain" class="optanon-category-C0002"> //what is the code to block the LinkedIn cookie? </script> because : read more
0 upvote
1 Reply
Accepted Solution
Thought Leader | Elite Partner
April 28, 2023 03:08
Hello @ICaceres To block LinkedIn cookies using the OneTrust cookie consent banner script, you can use the following code within the <script t...read more
Solved
designfrance on November 02, 2021
Hello 🙂 I have a problemin the code of my blog, but I cannot find how to solve it. When we go to the second page of the listing, the two items are duplicated. they have no been created twice in the editor. It would come from the code. read more
0 upvote
4 Replies
Accepted Solution
Recognized Expert | Partner
November 10, 2021 13:14
Thanks @TiphaineCuisset Hey @designfrance After you " {% if current_page_num > 1 %}" expression you're printing the blog post for th...read more
Solved
jjokinen on May 06, 2021
Hi! I found this article on the subject but seems like the actual code snippet is missing from there. Does anybody have the snippet available for sharing? https://blog.hubspot.com/customers/writing-a-custom-updated-timestamp-for-blog-posts read more
1 upvote
6 Replies
Accepted Solution
Top Contributor | Diamond Partner
May 07, 2021 12:33
If you are looking to display the last updated date instead of the published date on a post page you can use the following: {{ content.updated|dat...read more
sgoodman on February 01, 2021
I have a blog post where I have a section for related blogs, but I also have links to two related blogs in the footer. I have tried to show them using the following but it just won't work. Can anyone tell me if there is a correct way to do this? read more
0 upvote
3 Replies
Recognized Expert | Elite Partner
February 03, 2021 17:43
@sgoodman From testing it seems like the callback has an issue creating multiple instances. I'd recommend just using the post_formatter instead wit...read more
cancel
Showing results for 
Search instead for 
Did you mean: 

Looking to start a conversation or ask a question?

Create a post
Sunny

Sign up for the Developer Newsletter

Fresh content delivered to your inbox every month.