Display Parent Category Title with Child Category Thumbnail
-
I am completely overwhelmed and hoping someone can help me sort this out… I know this plugin is capable…
I’d like to list the parent category in textual form, and then the child category image below it.
I’m using wp_list_categories to list all.
<?php //list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) $orderby = 'name'; $show_count = 0; // 1 for yes, 0 for no $pad_counts = 0; // 1 for yes, 0 for no $hierarchical = 1; // 1 for yes, 0 for no $title = ''; $args = array( 'orderby' => $orderby, 'show_count' => $show_count, 'pad_counts' => $pad_counts, 'hierarchical' => $hierarchical, 'title_li' => $title ); ?> <ul class="parent"> <?php wp_list_categories( $args ); ?> </ul>
- The topic ‘Display Parent Category Title with Child Category Thumbnail’ is closed to new replies.