Support Forums - Classified Ads Script Osclass

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: siken on June 08, 2018, 01:49:05 PM

Title: Order by date in mobile version
Post by: siken on June 08, 2018, 01:49:05 PM
Hello, I have managed to put the option to sort by date in the desktop version, but I need to put it in functions.php so that it also works in the mobile version. What code should I put in order to order for the latest publications and the oldest publications?

https://leales.org/search (https://leales.org/search)
Title: Re: Order by date in mobile version
Post by: MB Themes on June 09, 2018, 08:58:47 PM
This is default sorting of osclass, not sure what you want.
Title: Re: Order by date in mobile version
Post by: siken on June 09, 2018, 11:47:04 PM
The order of the publications in the searches is by price. I want it to be sorted by the oldest or newest items, in the mobile version.
You can see in my desktop version how we have placed the order of the publications: by oldest or newest.
I've seen that I need to have to modify it in functions.php
Title: Re: Order by date in mobile version
Post by: MB Themes on June 10, 2018, 08:31:04 AM
No by default it is ordered by publish date descending.