Listings: Order By New Listings and Newly Updated Listings

WordPress Business Themes Forums Responsive Themes Classifieds Theme Listings: Order By New Listings and Newly Updated Listings

Listings: Order By New Listings and Newly Updated Listings

March 21, 2019
Jennifer Jennifer
  • Jennifer
    Jennifer
    Newbie 7 points

    Hi-
    Using version 8.9.6.
    I had figured this out a few years ago when originally setting up my homepage (and it worked perfectly), but recently updated it and lost the original code to display listings by Newly Listed AND Updated Listings.
    For example, listings are displayed in order that they are added to the site, but if you go in and edit your listing, it’s listed back at the beginning (refreshed listing).

    From the Sample Query String: Latest products :: orderby=ID&order=desc
    How would I add a date update/edited (or whatever it’s called)?
    Thanks!

    March 21, 2019 at 9:03 pm
  • Marie
    Marie
    Super Guru 1,623 points

    hi Jennifer

    do you mean you want to include the date updated to your display order?

    March 22, 2019 at 5:52 am
  • Jennifer
    Jennifer
    Newbie 7 points

    Yes, I believe that is what I am trying to accomplish.

    March 22, 2019 at 1:57 pm
  • Jennifer
    Jennifer
    Newbie 7 points

    Figured it out. For anyone interested: orderby=modified&order=desc

    March 24, 2019 at 2:30 pm
  • Mark Fail
    Mark Fail
    Super Guru 12,807 points

    thanks for updating

    March 25, 2019 at 1:27 am
Viewing 5 posts - 1 through 5 (of 5 total)

Didn't find what you were after?

Chat with us now

or contact our support team