Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Listings: Order By New Listings and Newly Updated Listings

  • Jennifer
    Newbie 10 points
    March 21, 2019 at 9:03 pm

    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)?

  • Marie
    Super Guru 1,785 points
    March 22, 2019 at 5:52 am

    hi Jennifer

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

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

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

  • Jennifer
    Newbie 10 points
    March 24, 2019 at 2:30 pm

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

  • Mark Fail
    Mark Fail
    Super Guru 12,878 points
    March 25, 2019 at 1:27 am

    thanks for updating

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