Taxonomy Images
Active Taxonomy Links (2 posts)

  1. umarglobal
    Posted 5 years ago #

    This is a feature request, is there anyway of incorporating active linking to taxonomy links? I am using the following code and could do with some tips on how to get active linking to show. Im not sure how to achieve this :)

    <?php $args = array('taxonomy' => 'startersections'); ?>
                    <?php $tax_menu_items = get_categories( $args );
                    foreach ( $tax_menu_items as $tax_menu_item ):?>
                    <li id="<?php echo $tax_menu_item->slug;?>" class="page">
                    	<?php do_action('taxonomy_image_plugin_print_image_html', 'fullsize'); ?>
                       <div class="textwrap">
                        <h3><a href="<?php echo get_term_link($tax_menu_item, $tax_menu_item->taxonomy); ?>">
                            <?php echo $tax_menu_item->name; ?>
                        <p> <?php echo $tax_menu_item->description; ?></p>
                    <?php endforeach; ?>


  2. Michael Fields
    Plugin Contributor

    Posted 5 years ago #

    umarglobal, Could you be more specific about active linking? Are you linking to the taxonomy archive? Which element would you like to have linked?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic