[Resolved] how to display posts from category and sucategory
Hi, I’m quite new to WP and not really a coder
I have several categories and subcategories on a WP site and when a parent category is selected i want to display the post in it and also the posts from its children.
the problem is that the code I have now http://pastebin.com/1Q4RSKFi it shows only the posts from child category and if there is no child category it works just fine, I mean it shows all the posts from current category
Any help appreciated.
- The topic ‘[Resolved] how to display posts from category and sucategory’ is closed to new replies.