So I’ve created a custom page template for my “Topics” Page.
What I want to do is add in some PHP to the custom page template my Topics page uses, to retrieve permalinks for the 3 most recent posts from a chosen category.
(From post category 1)
–> Permalink for post 1
–> Permalink for post 2
–> Permalink for post 3
Can anyone advise on doing this? I’ve seen many solutions but wasn’t able to get any working. I’d rather avoid using a plugin if possible.
Thanks in advance!
- The topic ‘Get recent post permalinks by category’ is closed to new replies.