troubleshooting Question

WordPress post category per page

Avatar of Refael
RefaelFlag for United States of America asked on
WordPress
4 Comments1 Solution481 ViewsLast Modified:
Hello experts,

In wordpress let’s say I have page name “fashion” (e.g. mydomain.com/fashion) and a page name “art” e.g. (e.g. mydomain.com/art).

These pages have one template (the page template).

I want that all the posts that is categorized “fashion” to display in the fashion page and all the posts categorized “art” to display in the art page.

Now, I can make a template per page and then hard-code the post category name to display but I would like to have one template for all the pages and then let it know the category it should display.

Is this possible?
ASKER CERTIFIED SOLUTION
Ovid Burke
CEO & Creative Director

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros