Skip to main content
edited tags
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459
Source Link

How to get all posts related to particular category name on button click?

What I am trying to achieve is displaying all Post Category Titles as thumbnail on first page. But when user clicks on the specific Category, I want to display all posts for that specific category. I am using Custom Post type and Custom Fields Plugin so I have created different custom post and fields too, but stuck how I can configure the permalink function or create the custom query that could help me achieve this.

Any help will be highly appreciated. Thank you.