Posts related to a specific category to show up on sidebar of a page
-
Okay so I have a client’s website which basically has a page template for the home page, a blog post page, a full-width page, and an interior page/practice area page.
It’s a lawyer’s site and all of the practice area pages use the practice area page template.
In the blog, we use categories which, for the most part, directly match up in name to the practice area pages. So, if we write a child custody post, we also have a child custody practice area page.
How can we, without creating an individual page template for each practice area, going in and changing each of the page templates, and then assigning a category-specific posts widget to each page template, get the posts from a specific category to show up on that corresponding practice area page?
So whenever a visitor is on the child custody page, they see blog posts related to that particular practice area in the sidebar (I know that there are widgets out there that allow us to put a footer shortcode on each page so they show up after the content, but I think I would like for them to be in the sidebars…). Any thoughts?
- The topic ‘Posts related to a specific category to show up on sidebar of a page’ is closed to new replies.