Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #474251

    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

    #474438

    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

    #474472

    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?

    #474651

    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

    #474934

    That’s it, thank you both a bunch

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘how to edit Blog Posts element’ is closed to new replies.