• I’m using a custom theme.

    When logged out of admin, wp_list_categories is showing only first level of categories, so no subcategories are printed.

    When logged in, all categories are shown.

    Im usgin the code below:

    wp_list_categories(array(
    						//'parent' =>  0,
    						'hide_empty' => 0,
    						'title_li' => '',
    						'show_option_none' => '',
    						'depth' => 10,
    						'exclude' => '1'
    					));

    Any toughts?

  • The topic ‘wp_list_categories showing only first level when logged out’ is closed to new replies.