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
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
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
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
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
Here's the page: https://www.vanderbeken-remodel.com/snohomish-county-remodeling-blog Here's the code: <!-- templateType: blog_listing isAvail...read more
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
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
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
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
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
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?
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
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
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
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
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
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
I am essentially trying to pull the image src variable from a custom image module in a blog post into the blog post listing page. From Blog post Listing module: <img src="{{ module.post_listing_image.src }}"> In the single blog po read more
There's actually a recent post answering this very question : https://community.hubspot.com/t5/CMS-Development/Using-a-custom-module-field-for-blog...read more