WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
is it possible to sort by a custom field? (2 posts)

  1. emilysparkle
    Member
    Posted 1 year ago #

    using a plugin called Simple Fields, i added an 'eventdate' field which i would like use to sort the output by in one of the places i use Display Posts Shortcode on my site. is this possible?

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

  2. emilysparkle
    Member
    Posted 1 year ago #

    i figured it out and thought i would post just in case it helps someone else. my shortcode ended up looking like this:

    [display-posts category="upcoming-event" image_size="thumbnail" orderby="eventdate" order="ASC"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic