Hi guys,
I’m building a page with Avia Layout Builder and I’ve just added a “Blog posts” element to it.
My question is: How can I edit the template for this element?
More specifically, I need to show the title of a post before the photos, etc. But I can’t seem to find the right file to edit.
I hope you can show me the right direction
Thanks in advance
Hey kidcabide!
The file your looking for is /enfold/includes/loop-index.php. You can see the title on line 143.
echo $title;
You could try moving it up to around line 100 to have it display above the image.
Best regards,
Elliott
Elliott,
Thanks for you answer. But that affected the single post and not the “Blog Posts” element in my page.
I even uploaded a blank loop-index.php just to be sure the file wasn’t related with the element I’m referring to.
Do you have any other suggestion?
Hey!
What is the current blog style of the blog post element? If you set the style to grid, you need to modify the config-templatebuilder > avia-shortcodes > postslider.php file. If not, then you have to modify the includes > loop-index.php file.
Regards,
Ismael
That’s it, thank you both a bunch