Tagged: ascending

Show wordpress search result in Ascending order 0

Show wordpress search result in Ascending order

WordPress shows search result always in descending order to change it into Ascending order follow the given blow instruction. Change this line <?php if(have_post()): ?> to <?php query_posts(‘order=ASC’); if(have_post()): ?> Now you are done...