Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1254260

    Hi,
    I am having trouble setting up all category/archive pages.
    I made it with home page and works great but now I want to do the same with all category/archive pages.
    I created a grid page with Advanced Layout Builder.
    When I set it up in the Enfold settings, I get a regular post list without photos, not a grid.

    • This topic was modified 4 years, 2 months ago by mohito.
    #1254466

    Hey mohito,

    Here is the code you can put in your funtions.php

    
    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'blog-grid';
    return $layout;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.