• Samuel-lilith
    May 28, 2014 at 8:13 pm #39411

    Hello Anna.
    Im tryin to make custom advanced search. How can i change order id in dropdown menu (actions) by DESC. If i understand now it ordered by ASC.
    Thank you!

    Samuel-lilith
    May 28, 2014 at 8:17 pm #39412

    [url=http://ipic.su/img/img7/fs/1123123.1401308206.png][img]http://ipic.su/img/img7/tn/1123123.1401308206.png[/img][/url]

    Anna
    May 30, 2014 at 4:41 pm #39689

    Hello,

    The fields “listed” in map-search-form.php
    for example for city
    $select_city=”;
    $taxonomy = ‘property_city’;
    $tax_terms = get_terms($taxonomy,$args);
    foreach ($tax_terms as $tax_term) {
    $select_city.= ‘

    Thank you
    Anna

    Samuel-lilith
    May 30, 2014 at 8:17 pm #39707

    Thank you.
    So i didn’t sort my dropdown menu by name.
    But have found some other way to do this.
    If someone interestin, for example:
    $args=array(
    ‘orderby’ => ‘id’,
    ‘order’ => ‘ASC’,
    ‘hide_empty’ => true );
    $taxonomy = ‘property_action_category’;
    $tax_terms = get_terms($taxonomy,$args);

    And then just create custom categories with order by “id”

    slap07
    January 27, 2015 at 11:17 pm #102258

    Hey Samuel-lilith,
    thank you very much for the solution here !!!
    It was very helpful for me 😉

    Anna
    January 28, 2015 at 8:26 am #102260

    Hi slap07 and everyone else reading this ticket.

    There is also a plugin that does this –

    Option 1:

    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/

    Thanks
    Anna

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.