• Resolved consumedesign

    (@consumedesign)


    I am looking to sort by a date, but that start_date is used within a loop, so:

    {"486":{"post_title":"Seminars","post_name":"seminars","cfs_rules":{"post_types":{"operator":"==","values":["post"]},"user_roles":{"operator":"==","values":["administrator"]},"term_ids":{"operator":"==","values":["10"]}},"cfs_extras":{"hide_editor":"0"},"cfs_fields":[{"id":"9","name":"seminar_info","label":"Seminar Info","type":"loop","notes":"","parent_id":0,"weight":0,"options":{"row_display":"0","row_label":"Loop Row","button_label":"Add Row"}},{"id":"8","name":"room_number","label":"Room Number","type":"text","notes":"","parent_id":9,"weight":1,"options":{"default_value":"","required":"0"}},{"id":"1","name":"start_date","label":"Start Date","type":"date","notes":"","parent_id":9,"weight":2,"options":{"required":"0"}},{"id":"13","name":"end_date","label":"End Date","type":"date","notes":"","parent_id":9,"weight":3,"options":{"required":"0"}},{"id":"2","name":"speaker","label":"Speaker","type":"text","notes":"","parent_id":0,"weight":4,"options":{"default_value":"","required":"0"}},{"id":"3","name":"company","label":"Company","type":"text","notes":"","parent_id":0,"weight":5,"options":{"default_value":"","required":"0"}},{"id":"4","name":"company-url","label":"Company URL","type":"text","notes":"","parent_id":0,"weight":6,"options":{"default_value":"","required":"0"}},{"id":"5","name":"bio","label":"Bio","type":"textarea","notes":"","parent_id":0,"weight":7,"options":{"default_value":"","formatting":"auto_br","required":"0"}}]}}

    Is it possible?

    https://www.ads-software.com/extend/plugins/custom-field-suite/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Sorting via Loop’ is closed to new replies.