Tagged: grid layout blog, post category page
Hi,
I want to visualize the posts in the category page (for example – https://novosite.graphitheque.net/category/estrategia/) as grid layout style, the way I have in the blog page (https://novosite.graphitheque.net/blog/).
Appreciate your help how to do it.
Thanks
Hey diogovareta,
Thank you for the inquiry.
You can add this filter in the functions.php file to adjust the layout of the category or archive pages.
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;
}
Best regards,
Ismael