pegasusteam
Member
Posted 4 years ago #
When I click on a post title it takes me to a page that shows ALL the posts... any ideas?
http://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. :(
Your permalinks are not working. Set them back to the default.
pegasusteam
Member
Posted 4 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?
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.