Posts not displaying when clicked, with double loop
-
Okay, i have a double loop, one runs the left sidebar which will display only one sort of post and then the other the main… the code looks like this…
<?php $index_query = $wp_query; ?>
(include)
(include leftbar…. code entered here)
<?php query_posts(“cat=5”); ?>
(do the loop)
(end the loop)
(return back to index.html…
<?php $wp_query = $index_query; ?>
(do the loop)
(end the loop)
pageendnow, to me it seems fine and dandy. however, when you click on a non cat 5 post, the index decides to display ONLY the cat 5 posts. however, when you click on a cat 5 post, it also will change the index to that…
what i want to accomplish is to have that blog entry display, not jst mess around with my index page. and i dont know how to fix it. if you dont understand what is happening, let me know and i will post the website, i really dont want to though
- The topic ‘Posts not displaying when clicked, with double loop’ is closed to new replies.