• Resolved diespeedy

    (@diespeedy)


    Hey everybody

    does anybody know how to configure the query within Swift Template to order by a custom date field (e.g. book_details_publication-date (datepicker)?

    Couldn`t figure it out until days right now. ??

    Many thx for all hints,
    Die Speedy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Die,

    Thank you for reaching out to us.

    Since you are using WCK Pro please submit a support ticket because we are not allowed to offer support for paid plugins on these free forums.

    Go to your Swift Templates and inside Query Arguments add:

    - Query Arguments: Meta Key
    Value: book_details_publication-date
    
    - Query Arguments: Order By
    Value: meta_value
    
    - Query Arguments: Order
    Value: ASC

    Also make sure the book_details_publication-date Datepicker field uses the Date Format: ISO 8601 (extended) – yy-mm-dd

    After you change the date format go to your posts and update the date using the new format. Make sure the date is using the new format.

    Best regards,

    Thread Starter diespeedy

    (@diespeedy)

    Hi Teodor,

    I already opened a support ticket but I didn`t recieve an answer within the expected timeframe. ?? Now I switch to your answer by mail. Thank you.

    BR,
    DieSpeedy

    Hello Die,

    I am sorry that we didn’t respond to your ticket in the expected time frame. Can you open the support ticket again?

    I will wait for your ticket and we will continue our conversation there.

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order by custom date field’ is closed to new replies.