Hello,
I’ve set my posts within categories and sub-categories in the menu. When I load the category page I don’t see the posts looking as they do on the Enfold demo, instead they show up as full posts, even though I have the “Blog single post small preview image” set.
How can I make the posts on my category pages look like they do in the demo here?:
https://kriesi.at/themes/enfold/blog/blog-single-small/
I have tried the instructions on this page with no success:
https://kriesi.at/documentation/enfold/blog-post/#toggle-id-9
Hey rankbrite,
Thank you for the inquiry.
You may need to adjust the filter a bit so that it checks if the context is set to “archive” instead of “tag”.
function avia_change_tag_blog_layout($layout, $context){
if($context == 'archive') $layout = 'single-small';
return $layout;
}
add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2);
Best regards,
Ismael