Can plugin replace default listing orderby=ID with ‘date’
-
Hello,
first I’m not an expert, I have wordpress vacation rentals theme which list rentals by default – published date (ID).
In order to have some control of rental listing order I replaced in theme php code for ex.'orderby' => 'meta_value_num',with'orderby' => 'date',
Basically replaced default order by Published date (ID or ‘meta_value_num’) with order by Modified date (‘date’).
Editing modified date I can move rental up or down in listing.Regular theme updates and php code changes make modification of a few theme php files impossible for a non php expert, so I’m interested is it possible with your plugin to list properties by Modified date instead of by default Published date.
All the best!
The topic ‘Can plugin replace default listing orderby=ID with ‘date’’ is closed to new replies.