WordPress.org

Support

Support » How-To and Troubleshooting » Show whole posts in category

Show whole posts in category

  • Hi,

    How can I show whole posts when clicking on a category using WP 3.0 and TwentyTen theme, instead of them breaking up with “Continue reading”?

Viewing 5 replies - 1 through 5 (of 5 total)
  • look for replace excerpt code with

    <?php the_content(”); ?>

    look for

    <?php the_excerpt(); ?>

    and replace with the code above

    Which file? I can’t find it in category.php or index.php?

    well, since you are talking about categories, I started by looking at category.php, which led me to loop.php

    All the loops are handled in loop.php in twentyten

    So, you could either edit loop.php where you see the_excerpt

    But the better thing to do would be using a child theme, if you look at category.php in twentyten, it is commented to give a bit of instruction on includeing a deifferent loop, which you could do to override the default behaviour

    Thanks, it works 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show whole posts in category’ is closed to new replies.
Skip to toolbar