WordPress.org

Ready to get started?Download WordPress

Forums

Category pages like blog posts (not excerpts) (3 posts)

  1. Kreachure
    Member
    Posted 2 years ago #

    Hi, I've been trying to find a plugin that can make category pages in my Graphene theme blog not show as excerpts but full blog posts. This theme does have an option to change all excerpts to blog posts, but that's not what I want (I want to keep excerpts in search results, tags, etc.) Does anyone know a way to accomplish this (with code or a plugin)? Thanks in advance.

  2. vtxyzzy
    Member
    Posted 2 years ago #

    I do not use that theme, but this is what I would try. Make a copy of loop.php named loop-category.php and change line 158 from this:

    <?php the_excerpt(); ?>

    to this:

    <?php the_content(); ?>
  3. Kreachure
    Member
    Posted 2 years ago #

    Thank you so much for your reply.

    It works! I changed the line and tested it, and now categories show full posts instead of excerpts. But, it still showed the excerpt thumbnail which messed up the rest of the post. I had to remove the code for generating the thumbnail which was thankfully right above the line, and now the posts show perfectly. Once again, thank you very much vtxyzzy! :)

Topic Closed

This topic has been closed to new replies.

About this Topic