
-
AuthorPosts
-
November 27, 2022 at 4:23 am #1374001
Is there a way I can make it, so all category and tag archives only display the featured image and excerpt rather than the full article, anytime I link to a category its only listing the full articles one after the other. I know how to make pages to control the flow of the blog but that’s very time consuming and not practical, just to link a category like I have a journal, it will list full articles one after another this is not what im looking for and I try everything I can see in the wordpress and enfold child settings, in blog setting have excerpt in the reading for blog but still nothing. please help on this one.
-
This topic was modified 2 years, 4 months ago by
photoshopuzr.
November 27, 2022 at 6:36 pm #1374038Hey photoshopuzr,
You can try these presets, try these codes in your child theme functions.php, only one at a time and then check your category page.//change category page layout to blog single small style
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-small'; return $layout; }
//change category page layout to blog single big style
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; }
//change category page layout to blog grid style
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; }
//change category page layout to bloglist excerpt
add_filter('avf_blog_style','avia_change_archive_blog_layout', 10, 2); function avia_change_archive_blog_layout($layout, $context){ if($context == 'archive') $layout = 'bloglist-excerpt'; return $layout; }
Best regards,
MikeNovember 28, 2022 at 3:31 am #1374094This works sweet, but im noticing the blogs that are showing full pages instead of with the featured image with the excerpts only, I will play with this some more to see if there is something else to do. Thanks again.
November 28, 2022 at 12:53 pm #1374119 -
This topic was modified 2 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.