My notes and thoughts about Linux, WordPress, PHP and many more.
I am beginning to wonder how to sort search results in word press by post titles. There is a plugin below.
query_vars['orderby'] = 'title'; $k->query_vars['order'] = 'DESC'; } } ?>
1. Download the plugin here.
2. Upload to wp-content/plugins directory in wordpress
$k->query_vars['order'] = 'ASC';
If you have problems with the plugin contact the developer.