WordPress.org

Forums

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

  1. acon89
    Member
    Posted 2 years 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 2 years 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

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.