Support

Account

Home Forums General Issues Order by Date Picker Not Working

Helping

Order by Date Picker Not Working

  • I’ve been trying to get my posts to appear in order based on the meta_key digital_date but nothing seems to be working. I’ve tried several solutions from the web and on this forum but nothing seems to be changing the order of posts. I believe it’s currently ordered by post date.

    Here’s what I have so far:

    $args = (array(
    'post_type' => 'movies',
    'posts_per_page' => 4,
    'order' => 'ASC',
    'orderby' => 'meta_value_num',
    'meta_key' => 'digital_date'
    ));

    Can anyone help? Would really appreciate it!

  • I created the simplest possible Dev Studio screen. A text input only. I then added the javascript items for JQuery and datepicker TellDunkin.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Order by Date Picker Not Working’ is closed to new replies.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.