Comma separated list of child category ids? (1 post)

  1. janosd
    Posted 7 years ago #

    HI guys.

    i want to exclude a certaing category from my index page. The category has got about 30 children categories. Obviously i dont want to type in by hand so how can i use get_categories() to get them?

    'category__not_in' => array(get_categories('child_of=25'));

    well its not too good yet since it gives back and array, doesnt it? thanks

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.