WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
[resolved] Offset parameter? (2 posts)

  1. acon89
    Member
    Posted 1 year ago #

    How can I offset the number of posts I'm displaying? I'm using a columns shortcode to display to display-post-shortcodes and want one to start at post #6.

    http://www.wisedisguise.org/costume-ideas/

    Thanks

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. Bill Erickson
    Member
    Plugin Author

    Posted 1 year ago #

    Offset isn't an argument that's currently built into the plugin, but if you put this in your theme's functions.php file ( https://gist.github.com/3702203 ) you can then use offset in your shortcode:

    [display-posts offtset="6"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.