I'm designing a post listening module for use on a pillar page, similar to the way HubSpot's pillar pages are built, but I'm not able to get the featured image to feed in. Also, any idea how to make it pull from a blog tag instead of having the entry be manual?
Here's my snippet: (I've used this before with no issues)
Pretty easy fix actually, I forgot that my JS was pulling the image from the class on the Div, so on this client's blog I wasn't use .post-featured-image as a class. I actually ended up adding a snippet using the Hubl {{ content.post_list_summary_featured_image }} to automatically pull in the pictures like I wanted. This is better because it's not reliant on what class I'm using. For anyone wanting to use that snippet, I simply added:
Pretty easy fix actually, I forgot that my JS was pulling the image from the class on the Div, so on this client's blog I wasn't use .post-featured-image as a class. I actually ended up adding a snippet using the Hubl {{ content.post_list_summary_featured_image }} to automatically pull in the pictures like I wanted. This is better because it's not reliant on what class I'm using. For anyone wanting to use that snippet, I simply added:
Can you please provide post page url which help us to dig out actual issue, as currently by seeing your code we can't figure out actual issue. And we want to know what type of tag used for post-featured-image class.