How to make the most recent post(DESC) appear first?

Forums › Forums › Search & Filter Pro › How to make the most recent post(DESC) appear first?

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #38056

    Hi,

    I integrated pro version on my website. Using ‘ajax’ and ‘short-code’ for search filtration with custom taxonomy. But on search result box, articles are sorted by date but the older 1st, and newest last.

    Please find my code,
    <?php echo do_shortcode('[searchandfilter id="748" show="results" order_by="date" order_dir="DESC"]'); ?>

    But not working. How can I show recent posts first using this plugin?

    Thanks & Regards,
    Vijil

    Ross Moderator
    #38057

    Hey there

    Check in the “posts” tab of your search form, lots of sorting options there ๐Ÿ˜‰

    Oh, and remove the order_by from your shortcode!

    ๐Ÿ˜€

    Anonymous
    #38251

    Thank you Ross. It works perfectly. ๐Ÿ˜€

Viewing 3 posts – 1 through 3 (of 3 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.