WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Query Multiple Taxonomies] How to highlight current terms? (2 posts)

  1. parandroid
    Member
    Posted 4 years ago #

    How to highlight current terms, Please?

    If can like this below, would be more flexible...

    <li class="music-item music-item-id current-music">
    <li class="movie-item movie-item-id current-movie">
  2. scribu
    Member
    Posted 4 years ago #

    The latest dev version (5 minutes ago) has this markup:

    <div id='term-list-{taxonomy}'>
    	<h3>
    		{title}
    		<a class='clear-taxonomy'>(-)</a>
    	</h3>
    	<ul class='term-list'>
    		<li class='term-item term-item-{term_id}">
    			<a>{term_name}</a>
    			<a class='add-term'>(+)</a>
    		</li>
    		<li class='term-item term-item-{term_id} current-term'>
    			<a>{term}</a>
    			<a class='remove-term'>(-)</a>
    		</li>
    	</ul>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic