AnnaAugust 29, 2014 at 11:13 am #70408
There is a plugin that has more sorting options and allows you to order in which order you wish:
Custom Taxonomy Order NE – http://products.zenoweb.nl/free-wordpress-plugins/custom-taxonomy-order-ne/
You can do this on every category list :
– identify the code that is responsible for that list. This code will have a wp_query wordpress instruction with a $args array passed as arguments.
-To change the order you need to add ‘order by’ (followed by the property name you want to order) and ‘order’ (ASC for ascended or DESC as decended)
– to get “entire place” before “apartments” you cold order by “id” and set order to DESC -> meaning it will order by inserting time – the last inserted will be first.
More details can be read on http://codex.wordpress.org/Class_Reference/WP_Query
ThanksMittchAugust 31, 2014 at 3:56 am #71602
This solution works as explained above. This is the procedure I followed: write and arrange the categories such that the last one you write will appear first to the visitor viewing your site. After arranging, download and install the free plugin ‘Taxonomy Terms Order’ that offer 2 Autosort settings: ON, and OFF; with Autosort ON the categories will appear with the last one written on top (Autosorted descending by the ID of the category). With Autosort OFF the alphabetical order is applied. Example: the original theme setup comes with 2 Actions, Rental and Sales. When you add another category like Lease: with Autosort ON the list will show as Lease, Sales, Rental (order by ID, last one shows first); With Autosort OFF the list will show as Lease, Rental, Sales (alphabetical).ysalimJune 18, 2015 at 5:32 am #111892
Option 1 works best for me. Thanks
You must be logged in to reply to this topic.