WordPress.org

Support

Support » How-To and Troubleshooting » How to get single post categories and then all the posts under that category

How to get single post categories and then all the posts under that category

  • I have multiple posts of different categories in my index page, and whenever I click on a single post title it opens at the single.php page with its all content. So far so good! now on single.php page I want to find out the category/categories of that particular post and show all the posts under those categories. Could anyone please help me to figure this out?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get single post categories and then all the posts under that category’ is closed to new replies.