single.php Shows all posts (4 posts)

  1. pegasusteam
    Posted 8 years ago #

    When I click on a post title it takes me to a page that shows ALL the posts... any ideas?

    The theme had all the sidebars etc codes in the header file so I had to break it apart and code the sidebars etc. I never could get the second sidebar to display at the right, it was always down below the content. :(

  2. moshu
    Posted 8 years ago #

    Your permalinks are not working. Set them back to the default.

  3. pegasusteam
    Posted 8 years ago #

    I reset permalinks to default and I have the same problem :o(

    In the files I used:

    <?php include (TEMPLATEPATH . "/header.php"); ?>
    <?php include (TEMPLATEPATH . "/leftbar.php"); ?>

    Instead of:

    <?php get_header(); ?>
    <?php get_leftbar(); ?>

    because I got errors using get_, would that have anything to do with it?


  4. moshu
    Posted 8 years ago #

    Well, get_header should work - it's a built-in function in WP;
    get_leftbar should NOT work, so the code you gave for it is OK.

    Seemingly you must have some other issues - some permalinks work (like categories), others don't.
    Maybe your editing of the theme is not OK... I can't tell.

Topic Closed

This topic has been closed to new replies.

About this Topic