I use a plugin called xili Post-in-Post. Once it’s installed, all you need to do is add a shortcode to your static page where you want your latest post to appear, like this:
[xilipostinpost query='?']
This should just show your latest post.
Thank you so much, do you know the code to show the featured image thumbnail and if I want to show 3 post is that what the code cat=3 is for?
The cat
parameter is the category option. That is, if you just wanted to show posts from a certain category, you would use cat
along with the category numbers that you wanted to display (like cat=3,5
).
To show featured image thumbnails, and to show three posts, use this:
[xilipostinpost query='?' showposts=3 featuredimage=1]
showposts
indicates the number of posts to display, and setting featuredimage
to a number other than zero will display the featured image.
Sweet! You’re a genius!! Thanks a bunch, by chance do you know how I find what number order my categories are in? I figured out one just by some guess work.
Go to Posts → Categories. Click on a category to edit it. Up in the address bar of your browser, you’ll see a part of the address that says tag_ID=## where ## is the number that identifies that category.
By the way, for future reference, it’s a good idea to always include a link to your site so it’s easier to offer suggestions. Even if you’ve included the link before in another post, include it again so we don’t have to try hunting it down. Or, if your site is only on a local server, mention that so we don’t have to ask you for your site link. Thanks.
Oh yeah sorry I’m doing most of this via my phone and for some reason it won’t let me display a link
My site is http://www.creationodyssey.com if you still wanted to take a look at what I’ve done so far.
Thank you so very much!! You’re super knowledgeable and just saved me a whole lot of frustration and tears. I greatly appreciate your help.
I got it all setup!! Thank you again for sharing your amazing wealth of knowledge!