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 Leer más
Hi @Priyanka178 , I hope that you are well! Thanks for reaching out to the Community! I found similar threads that might help you: - Featured ...Leer más
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 Leer más
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...Leer más
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 Leer más
Here's the page: https://www.vanderbeken-remodel.com/snohomish-county-remodeling-blog Here's the code: <!-- templateType: blog_listing isAvail...Leer más
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 Leer más
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 ...Leer más
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 Leer más
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 Leer más
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 Leer más
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...Leer más
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 : Leer más
Hello @ICaceres To block LinkedIn cookies using the OneTrust cookie consent banner script, you can use the following code within the <script t...Leer más
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.
Leer más
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 Leer más
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...Leer más
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? Leer más
@sgoodman From testing it seems like the callback has an issue creating multiple instances. I'd recommend just using the post_formatter instead wit...Leer más