Hey, This is my first custom wordpress theme that I am trying to create and I haven't done all that much in PHP for a few months so I'm a bit rusty in that as well.
The Issue I am having is that when you click on a post in the WP loop it shows the URL has changed but the loop is still there (while removing the header)
You can see what I am talking about here: test.breadnmolasses.com
Just click on a post title and it will bring you to my issue. (don't mind the broken images, its a WIP)
Heres the query code (which I think is done correctly)
if($bnm_number_of_posts_homepage){
query_posts( 'showposts=' . $bnm_number_of_posts_homepage . '&paged=' . $paged );
}else{
query_posts( 'showposts=8&paged=' . $paged );
}
and here all of the index code if you would like to take a look
wordpress.pastebin.ca/2072847
It seems to be a logic error and not a code error because the debug log doesn't have anything in it when I activated the WordPress Debug Mode.
I also did not find much on google about this particular issue, when I typed in what I thought it could be it led me to broken WP Loops due to multiple queries on the same page.
I appreciate all the help that you can offer me, and if you need any more info I will gladly give it to you.