Adding recent posts to a pagepost/post/page/
One of the problems with the ‘recent posts’ option for your homepage is the inability to add content.This has nothing to do with the theme, it’s just how WordPress works.
But WordPress does have a neat built in function that lets you display recent posts anywhere you want.
To use this on the Tradesman Theme add the [recentposts] shortcode to a new page above, below or in between your content. You will then see the list of recent posts like this:
I’ve limited the number of posts on this demo page using a shortcode attribute: [recentposts numberposts=3]. The default is 9 posts on a page.
If you want to link to specific pages the shortcode format is: [recentposts include=63,43,374]
To find the ID number of the page you want to display:
- View the list of pages in your dashboard
- Edit the page you want to display
- Look in the address bar at the top of the screen and you will see something like: post=317.
- Copy the post number into the shortcode.
The example below has two posts and one pages. Note the placeholder for the page without a featured image: