Greetings,
My blog page layout in how it shows three blog posts per row with the image and short info is how I’d like to have my categories pages shown. I had this shown correctly before but I just did a backup and restore and I lost it.
How would I go about doing this?
Hey wpcupid,
Try adding this code to the end of your functions.php file in Appearance > Editor:
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,
Mike
Thanks! This worked :)
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Mike