Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1231306

    The following code shows the archives in grid.

    
    	add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); 
    	function avia_change_tag_blog_layout($layout, $context){
    	if($context == 'tag') $layout = 'blog-grid';
    	return $layout;
    	}
    
    	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;
    	}
    

    The default is 3 columns and 10 items.

    1- How to modify that to my needs? For example 18 items in 4 columns.

    The custom archives I mean to create a layout for them.

    2- How to create a layout using the builder, for category, tag, etc…

    Those are the 2 things I need to fix.

    Thanks.

    #1231341

    Hey peterolle,

    You can write your custom archive.php or look for a plugin that will allow you to customize the category and tag pages.

    Best regards,
    Victoria

    #1231351

    Sorry Victoria, please read my questions again.

    1- With the function for Enfold how to show more columns and more posts in the grid.
    2- Using Enfold builder, how to create a layout for archive pages?

    Both questions are for Enfold itself, not for extra plugins. If I have to install elementor or other builder, then what I need Enfold for?

    Thanks.

    #1231732

    Hi peterolle,

    Category pages are rendered with the archive.php file and they cannot be edited with the Advanced Layout Builder. I have seen users build custom pages for categories with the Advanced Layout Builder but then you need to configure permalinks for that.

    Best regards,
    Victoria

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