Support » Installing WordPress » Show categories for custom post type

  • Hello.
    I have custom post type and taxonomy(‘skyscrapers’) with categories and subcategories. This custom post belong to certain categories and subcategories. I need display for this custom post type categories and subcategories.

Viewing 1 replies (of 1 total)
  • I got list categories for custom post type:

    <?php $property_cat_list = get_the_term_list( $post->ID, 'scyscraper', '', '<br>', '' );
    										echo '<div>'.$property_cat_list.'</div>';?>

    But I need show these categories in hierarchical order. How do it?

Viewing 1 replies (of 1 total)
  • The topic ‘Show categories for custom post type’ is closed to new replies.