[Resolved] Category/ Index page not displaying properly

Home Forums Support Category/ Index page not displaying properly

  • This topic has 5 replies, 2 voices, and was last updated 8 months ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1177832
    Matthew

    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?

    #1178061
    Leo
    Staff
    Customer Support

    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?

    #1178122
    Matthew

    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();
    ?>
    #1178164
    Leo
    Staff
    Customer Support

    I think I see the issue. Are you using video post type?

    If so this should help:
    https://wordpress.org/support/topic/post-type-video-ignores-excerpt-settings/

    #1178175
    Matthew

    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!

    #1178176
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.