Support » Fixing WordPress » Categories in a multidimensional array?

  • Hi,

    I need to do some clever formatting on my categories which involves looping through each category and applying different styles.

    Is there any way of retrieving the categories in a multidimensional array so that I can deal with categories & subcategories?

    Ideally I need the same as what the following function returns but I don’t want it already formatted for me in a list, I just want it in an array:


    Any ideas anyone?


  • The topic ‘Categories in a multidimensional array?’ is closed to new replies.