Site logo

Archived topic

Category/ Index page not displaying properly

5 replies · Started by Matthew on February 26, 2020

Viewing posts 1–6 of 6

My category pages do not display the filtered version of the content. On the search pages the archives are displayed as I set them in the GeneratePress customize tab like this: https://www.ruffhousestudios.com/?s=cannabutter
It shows a 24 word excerpt, strips the images and text formatting and adds a button to read more (or watch video).
But on the man index page and the categories pages it ignores this formatting and duplicates images, text formatting and does not limit to 24 words. Also does not show the button for read more. Like this: https://www.ruffhousestudios.com/videos/cannabasics/
How can I make the categories archives display the proper formatting like the search archives?

Hi there,

Just to confirm, the setting in the customizer is set to Excerpt with word count?

If that's the case, any chance you can disable all plugins except GP Premium to test first?

Are using the parent theme or child theme? Any custom functions added?

Hi Leo,
Correct, the setting in the customizer is set to excerpt/ word count, use button for "read more" and it show correctly in search archives.

I did try disabling all other plugins but it still did not work.

I'm using the parent theme with 1 hook element added to bring in a video on posts:

<?php
global $wp_query;
$postid = $wp_query->post->ID;
echo get_post_meta($postid, 'tm_video_code', true);
wp_reset_query();
?>

Aha, yes! I am using video post type and the snippet you suggested worked like a charm when I added it using the Code Snippets plugin. Thank you!

No problem :)

This archived topic is closed to new replies.