Support » Fixing WordPress » wp_list_categories doesn't display child terms of custom taxonomy

  • Naif Amoodi

    (@naifamoodi)


    Hi. I am thinking this is related to the memory limit imposed by my host but I am not sure. I am using a host which lets me use around 64 MB of memory. The problem I am having is that, I have a custom taxonomy named Locations which is hierarchical and has around 700+ terms in it. When I try using the following, it works fine:

    wp_list_categories('title_li=&depth=1&taxonomy=location');

    On the other hand, it doesn’t display any terms when I try using the following:

    wp_list_categories('child_of=135&title_li=&depth=1&taxonomy=location');

    It just returns ‘No categories’.

    Can I know what the reason to this could be? And maybe a possible fix? Thanks.

  • The topic ‘wp_list_categories doesn't display child terms of custom taxonomy’ is closed to new replies.