Support » Themes and Templates » Relation between single.php and page.php

  • I am using the giraffe2 theme and like it very much. However I have seen that in some other themes the full pages show when you click on a archive or cathegorie. Not so in Giraffe…. ;o(

    I guess this has something to do with single.php and page.php, but I can not figure it out.

    Can someone please give me som help here?


Viewing 5 replies - 1 through 5 (of 5 total)
  • single.php shows one single post
    page.php shows one single page
    archive.php shows a list of posts (the archive) and can be modified to look many different ways (just listing them by category or month, or showing only post titles, organized by month with using a plugin called “srg clean archives”, or a number of other ways) – if your theme doesn’t have it already, you’ll need to build it.

    does this help?

    if you could give us a link to your site so we can take a look, and a clearer description of what it’s doing that you like/don’t like, we might be able to give you more specific help.

    Thanks for the reply!
    You will find my site at
    When a visitor click on a categorie like the first one Cykeltur 2006, the result should be a view of the full articles in that categorie, not just a short sumary as it is now.


    Sorry, I mean when you click on the categorie Cykeltur 2005 as that is an archive…..

    Falke, I have not used the Giraffe theme, but the following should help:

    Open your archive.php file. Find a line that says:

    <?php the_excerpt() ?>

    and replace it with:

    <?php the_content(); ?>

    The first line (the_excerpt) tells WordPress to display only the summary of your articles. The second line (the_content) tells WordPress to display a full page of your article (which will display the whole article unless your article is broken up into multiple pages using <!–nextpage–>).

    Hope this helps!

    Thank you so much, Samsarin! That did the trick!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Relation between single.php and page.php’ is closed to new replies.