• Resolved tye

    (@tye)


    Hey Bill – great plugin, I use it lots – thanks ??

    I am trying to display some Sugar Calendar Events posts, which have a start date field, which I’d like to use for orderby and also my ACF true false field, which I’d like to use to show featured events.

    The ACF field is fine using meta_key=”featured_event” & meta_value=”1″.

    How do I use the “date_column” as a “meta_value” to use in the “orderby” parameter?

    Using 2 x “meta_key” seems to break the shortcode.

    This is what I have so far…. I’ve removed all my double parameter usage to try keep it readable ??

    [display-posts post_type=”event” meta_key=”featured_event” meta_value=”1″ date_column=”sc_event_date_time” orderby=”DESC”]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Filter by 2 ACF field & Order by a custom date field’ is closed to new replies.