we are trying to replicate the display of posts on category pages from this demo https://kriesi.at/support/topic/adding-read-more-to-blog/ . We tried following the steps from this post https://kriesi.at/support/topic/adding-read-more-to-blog/ but it doesn’t work.
we are using enfold 3.1.3
Hi Simplify!
You forgot the link to the demo page so I’m not sure which style your trying to use. You can change the archive style in Dashboard > Enfold > Blog Layout > Blog Style. The archives use the same style as the blog.
Regards,
Elliott
this demo page; this format http://kriesi.at/themes/enfold/category/science/. – with large image, post excerpt with readmore link, etc..
Hey!
Add this in the functions.php file:
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2);
function avia_change_category_blog_layout($layout, $context){
if($context == 'archive') $layout = 'single-big';
return $layout;
}
You can change the layout if you want. Available layout are single-small, single-big, blog-grid and multi-big. The demo posts are using the more tag, that’s why they the “read more” link.
Regards,
Ismael
Hi Thanks for the code but it doesn’t work. Still has the old format.
Hi!
Did you use the more tag inside the posts? https://en.support.wordpress.com/splitting-content/more-tag/
Best regards,
Ismael