How do you sort the shirt wordpress?



  • Hello! How do you fit the titles of the shirt in the hierarchical sequence of the records? There's a hierarchy of the shirt:

    введите сюда описание изображения

    But turns names into alphabet:

    введите сюда описание изображения

    How do you keep that hierarchy when you get out?



  • You can use my categoryorder. You sort the categories you need. In order to depreciate the arguments, you transfer an element of orderby with the meaning of order.

         $args = array(
    ................
    'orderby'                  => 'order',
    ................ );
    

    $a_parent = get_categories($args);


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2