Show Recent Posts if Category Matches Page
I’d like to edit my pages so that if a page name is the same as a category name then it will show the most recent posts at the end of the page to give some dynamic element to these pages.
For example if I have a page called “apples” and then write a post and give it a category “apples” I’d like it to show as a recent post in the page.
Does anyone know if anything like that exists?
Also, being new to WordPress, is this considered a hack, a template modification, or a plugin?
- The topic ‘Show Recent Posts if Category Matches Page’ is closed to new replies.