• Resolved Parmen

    (@parmen)


    Hi,

    Child of and Parent selections have no logic to me. If I choose 0 as Child of and 0 as Parent, then all categories of first level are displayed, but no subcategories of them. Keeping the same setting and selecting the WP widget menu, all subcategores are being displayed.

    What ID should I set for Parent in order to display all children and grandchildren of 0?

    Честное слово, ничего не понимаю, а занимаюсь категориологией более тридцати лет. Вы меня прям загнули в тупик. 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Iks Studio

    (@iksstudio)

    Hello, this logic is not from Iks Menu, but from WordPress.
    You can check all the params there: https://wp-kama.ru/function/get_terms

    Also we provided descriptions of these field, did you read them?

    Child of – Term ID to retrieve all taxonomy elements that are children of the element with the specified ID, regardless of the nesting level.

    Parent – Term ID to retrieve taxonomy elements that are children of the element with the specified ID and are at the first nesting level. If you specify 0, then only top-level elements will be displayed.

    Try to remove everything from both fields to show all menu items.

    Thread Starter Parmen

    (@parmen)

    Well, seems that 0 and Nothing are different entities according to your logic. 🙂

    Anyway, thanks for the tip. Now it works.

    Plugin Author Iks Studio

    (@iksstudio)

    Yes, definitely different 🙂

    Thread Starter Parmen

    (@parmen)

    I kindly beg to disagree. 0 is the digital expression of Nothing. 🙂

    Excellent plugin, thank you for the time and effort developing it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child of Parent’ is closed to new replies.