• When I click on a post title it takes me to a page that shows ALL the posts… any ideas?
    https://guides.pegasusteam.com/quitsmoking/

    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. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your permalinks are not working. Set them back to the default.

    Thread Starter Pegasusteam

    (@pegasusteam)

    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?

    Ron

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘single.php Shows all posts’ is closed to new replies.