• Resolved Creation Odyssey

    (@creation-odyssey)


    Is it possible to display my latest post on my static front page but still leave my gallery intact on the top? I saw via wpbeginner that you can install drag and drop plugins for your site, is this something I would use or do I have to do a bunch of coding (which is beyond my skills).

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Thread Starter Creation Odyssey

    (@creation-odyssey)

    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.

    Thread Starter Creation Odyssey

    (@creation-odyssey)

    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.

    Thread Starter Creation Odyssey

    (@creation-odyssey)

    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.

    Thread Starter Creation Odyssey

    (@creation-odyssey)

    I got it all setup!! Thank you again for sharing your amazing wealth of knowledge!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Static page with latest post’ is closed to new replies.