I am having a little problem. I am using (or trying to use) WP as a CMS and have set each ‘page’ as a category so allow for new posts to be created/edited etc (the actual content of the pages). Within each of the categories (and on the index.php page) I have used the code to force the posts to appear in Ascending order rather than the normal order of newest to top. Also I have used the script to force the index page to only show posts from category 3 (my home page category) –Scripts below–
<?php if (!in_category(‘3’)) continue: ?>
The problem is that when I have both of these working if i go to any of the category sections then ALL the posts are shown on every category (they dont change order or anything).
Have I done something wrong?
Any help would be great!!!
- The topic ‘All posts showing on all categories!’ is closed to new replies.