WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images
hierarchical taxonomy (3 posts)

  1. robertodimarco
    Member
    Posted 1 year ago #

    It's possible to display hierarchical taxononomy list? I need something like this :

    Parent
    -image - children 1
    -image - children 2

    Parent
    -image - children 1
    -image - children 2
    -image - children 3

    Thanks!

    http://wordpress.org/extend/plugins/taxonomy-images/

  2. WhiteAce
    Member
    Posted 1 year ago #

    Hey there
    I'm using the woocommerce plugin & want to use txonomy-images for the products attributes,
    but I don't see my attributes taxonomies in the settings page.
    is there a way to configure on what taxonomies the plugin will work by ID, name or something like this?

    excuse me for my english.
    best regards
    Alex

  3. robertodimarco
    Member
    Posted 1 year ago #

    I don't know what you mean, but i'm using this code for show specific taxonomies :

    <table >
    		<?php $count = 0; ?>
    		<tr>
    <!-- Change "my-taxonomy-name" with your taxonomy name->
    		<?php foreach (wp_get_post_terms($post->ID,'my-taxonomy-name') as $cat) : ?>
    
    	        <td >
    	            <img src="<?php z_taxonomy_image_url($cat->term_id); ?>"/>
    	                <p><?php echo $cat->name; ?></p>
    	        </td>
    	        <?php if(++$counter % 3 == 0) : ?> <!-- Change 3 with desired number of cells-->
    	    </tr> <!-- column -->
    	    <?php endif; ?>
    	    <?php endforeach; ?>
    	</table>

    Hope you helpful

    Roberto

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic