WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Page
[resolved] Display the most recent post only (4 posts)

  1. sloplanning
    Member
    Posted 1 year ago #

    Hello. I want to have just one post display on my page - the most recent one. I'm using two shortcodes on the page: [ic_add_posts category='attendance'][ic_add_posts showposts='1']. I also have set "Blog pages show at most" to 1 in the reading setting. The problem is that each of the several test posts I've done are showing up. Any ideas how I can accomplish what I'm trying to do? Thank you!

    http://wordpress.org/extend/plugins/posts-in-page/

  2. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Howdy sloplanning,

    I think your issue is that you're using two shortcodes and you only need one.

    Try this instead: [ic_add_posts category='attendance' showposts='1']

    Hope that helps.

    Eric

  3. sloplanning
    Member
    Posted 1 year ago #

    That worked perfectly! Thank you Eric. Posts in Page is great :-)

  4. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Right on - congrats and thanks for using our plugin. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic