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. Readme/ Instructions: 1. Download the plugin here. 2. Upload to wp-content/plugins directory in wordpress3. Activate the plugin. 3. So everytime there is a search query made in wordpress, it will sort alphabetically in descending or ascending order. To sort post titles by ascending order, change the last line to: $k->query_vars[‘order’] = ‘ASC’; If you have problems with the plugin contact …
Copyright Emerson R. Maningo
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.