Support » Fixing WordPress » Showing post in category and arvhives

  • My blog is at http://www.Breigh.com I use the theme Bosco 1.0 + Widgets at the moment.

    I’d rather have it show the ENTIRE post when looking at an archive rather than just the title.

    For example, if you go here (random site I found on google with the same theme as my old one) http://onetoughvoncookie.com/?cat=160 you can see that when you click a certain category it shows all the posts in that category in order, rather than just the post titles as you see in mine.

    This is what I’m trying to achieve.

    I’ve made a separate page for my archives by month and archives by category, I just need to know what code I need to put in and where to put it to make it show the full posts rather than just the titles.

    Thanks a lot for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Anyone?
    This is a support forum, right? 😛

    Yes, is is indeed a support forum. Volunteer and free support even! Your patience is appreciated.

    When you did your search on this issue, did you notice the various references to the_content vs the_excerpt in The_Loop?

    What is this separate page you’ve made? Is it related to something you found in Template_Hierarchy?

    Yeah I did find info on the_content vs the_exerpt but the problem is I have neither of those in the code for my page so I’m confused as to where it goes.

    This is my categories archive page:
    http://www.breigh.com/wordpress/categories/

    The monthly archives are the same just by month.

    To be honest, it was absolute ages ago that I made these pages and I can’t remember where I found the code for them. I did find them on this site but when I looked up the templates on here recently they didn’t look the same.

    All mine seems to do is call for the list of categories. It doesn’t specify how much of the post to show.

    So I’m a bit confused…

    What php files are in your theme directory?

    Breigh, nice site. Can you tell me where you got the “email this” plugin?

    I made a special categories.php file to create the categories page, is that what you mean? It’s the categories.php and archives.php that I made that make the pages.

    This is my categories.php file, I tried changing the_excerpt to the_content but nothing changes.. it still shows only the titles.

    <?php
    /*
    Template Name: Categories
    */
    ?>

    <?php get_header(); ?>

    <div id=”page”>

    <div id=”content”>
    <h1 class=”pagetitle”>Category Archive</h1>

    <div class=”entry”>
    <div class=”archivepost”>

      <?php wp_list_cats(); ?>
      <?php the_excerpt(); ?>

    </div></div>

    </div>

    <?php get_sidebar(); ?>

    </div>
    <?php get_footer(); ?>

    You haven’t started a Loop, so there’s no ‘excerpt’ or ‘content’ to grab.

    All the list-cats method does is get a list of categories and links to the archives for each of those cats. It doesn’t fetch the posts themselves.

    Content and Excerpt tags need to be placed within the Loop to function. Read more here.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing post in category and arvhives’ is closed to new replies.