Support » Themes and Templates » How to show full entries in search results / categories?

  • Resolved iro

    (@supergrouper)


    I want to make the full entries- (including images!) display in search results, etc. Currently it’s only showing title-links to the full page… My site is an ART site, so it needs to show the full entries, including the images.

    Several themes I’ve tried don’t have this problem, but my custom theme does, and I don’t want to have to use another one. Could someone please help with this?

    You can see an example of my problem here-
    http://www.cherisehawley.com/categories/humor/funny-photos/

    You can see a copy of the theme files here-
    http://www.cherisehawley.com/snowfoxc2/
    I renamed the index to “index2.php” so that the files will all show.

    I’m very new to PHP, so could someone please help? ^^; Thank you.

Viewing 1 replies (of 1 total)
  • I found this answer here.
    Its geared toward a single theme, but works on my theme too.

    …If you want to change this so that the full posts are seen (instead of excerpts), in your WP Admin area, you’ll need to go to your “Design” tab (”Presentation” in WP 2.3.3 and earlier) and select “Theme Editor.” Then choose the file called “Archive (archive.php)” to edit it. (NOTE: don’t get confused with the file called “Archive (archives.php)” – they are named almost exactly the same – you want the one that is not plural.) In that file, look for a line that says:

    <?php the_excerpt(”.__(‘Read More <span class=”meta-nav”>»</span>’, ‘ProPhoto’).”) ?>

    Delete it and then paste in this line:

    <?php the_content() ?>

    Click “update file” to save your changes and then check your work.

    You can also do this with your category pages as well. Just open up the file “Category Template (category.php)” and do the same edit.

    Hope this helps you, it worked for me.

Viewing 1 replies (of 1 total)
  • The topic ‘How to show full entries in search results / categories?’ is closed to new replies.