Tagged: advanced layout builder, blog posts, enfold
Hi-
I’m customizing a child theme to Enfold, as I have done many times. I need to edit the layout of the ‘blog posts’ widget in the Advanced Layout Builder. I know that the loop-index has the code for the individual posts, but my conditional is_front_page() doesn’t work in there. Maybe I need to add a global to the top of that file? but also I would like to know what file is calling that file. I looked in the shortcodes folder and some other templates. Some file is wrapping it with a div with class ‘template-blog’.
Thanks. Mick
Hey mickfollari!
Thank you for using Enfold.
Where did you add the conditional function and what exactly are you trying to accomplish here? Have you tried the is_home or is_page function? You can find the advance layout builder shortcodes in the config-templatebuilder > aviashortcodes folder. Modify the blog.php file.
Cheers!
Ismael