WordPress.org

Ready to get started?Download WordPress

Forums

Show categories for custom post type (2 posts)

  1. AlphaCentavr
    Member
    Posted 2 years ago #

    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.
    Thanks.

  2. AlphaCentavr
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic