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

  1. emilysparkle
    Posted 2 years 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?


  2. emilysparkle
    Posted 2 years 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

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

About this Topic