• Resolved fanSte

    (@fanste)


    when i click a category, i will see only the titles of the posts, but i want to see the whole post, like the index page. how can i do that? tnx!

Viewing 4 replies - 1 through 4 (of 4 total)
  • a link to your blog would help 😉

    the template-tag to show the whole post is:
    <?php the_content(); ?>

    the template-tag to show the excerpt is:
    <?php the_excerpt(); ?>

    the template-tag to show the title is:
    <?php the_title(); ?>

    if there’s a file archive.php in your template directory, you’ll find the above title-tag in this file. to show the whole post you have to add the “content-tag” right after the title-tag.

    for example:

    <div class="bla">
    <h1><?php the_title(); ?></h1>
    <?php the_content(); ?>
    </div>

    if your archive page (the page with posts from only one category, date, etc.) looks the same as your index page, you can copy this from your index.php.

    Thread Starter fanSte

    (@fanste)

    yes, that works for me. Is there an option to add the comments too?

    Thread Starter fanSte

    (@fanste)

    for example: http://fanste.nl/?cat=21 you see it says 3 comments at the post “dude” but i can’t see the 3 comments????

    Thread Starter fanSte

    (@fanste)

    on http://fanste.nl/?p=625 i can see the 3 comments, but i want to see at the archive too. not only at a single post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘post fully opened when clicked category’ is closed to new replies.