Tagged: featured image, masonry
I love the masonry view, but I’m conducting an experiment on visitor engagement (increasing clicks per visit) and want to create prevent the masonry blog from pulling images. I just want it to display the post title and excerpt.
Could you help me figure out how to do that?
Thank you very much.
Hey Rusty!
As far as I know that would break the masonry display and prevent the script from working correctly.
Best regards,
Devin
The masonry display works fine with posts that have no featured image. It builds a nicely formatted display using only the title and excerpt. That means the loop code in some .php file knows that if there’s no featured image available, to just pull the title and excerpt and format accordingly.
We just have to tell it to always pull the title and excerpt.
I should mention, that there’s the solution of just removing the featured image from all of my hundreds of posts, which is a prohibitive bit of work, but what’s more, I want the featured images to remain attached for other display purposes, and because this is just an engagement experiment to observe click behavior of the posts when the image is absent.
Any help or guidance would be greatly appreciated. Even just pointing me to the .php file responsible for the masonry display.
For posts yes it will work without images. I originally read it as portfolio items which doesn’t quite work the same.
All of the themes template builder items are in config-templatebuilder>avia-shortcodes . Then the masonry_entries.php which handles all post type displays.