Title: category based excerpt ( image ) navigation
Last modified: August 19, 2016

---

# category based excerpt ( image ) navigation

 *  [deftru](https://wordpress.org/support/users/deftru/)
 * (@deftru)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/category-based-excerpt-image-navigation/)
 * Hi
    I have severall problems with a category-based excerpt (=image) navigation.
   firstly i want the current category highlighted on the single.php. link: [http://ba.goodandbad.net/dasmoebel](http://ba.goodandbad.net/dasmoebel)(
   current category is Projekte). The problem is: when i am on the single.php here
   the class `current-cat` should be added to the wp-list-categories (li Projekte).
 * Here es the code for the excerpt:
 *     ```
       <?php query_posts('category_name=Projekte&posts_per_page=-1'); ?>
                   <?php while (have_posts()) : the_post(); ?>
                   	<div class="column grid_1">
                   		<div id="ex" rel="post-<?php the_ID(); ?>" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"onmouseout="this.style.opacity=0.5;this.filters.alpha.opacity=50">
                    		<?php the_excerpt(); ?>
                   		</div>
                  		</div>
                   <?php endwhile; ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/category-based-excerpt-image-navigation/#post-1733938)
 * forum search:
    [‘highlight category single’](http://wordpress.org/search/highlight+category+single?forums=1)

Viewing 1 replies (of 1 total)

The topic ‘category based excerpt ( image ) navigation’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/category-based-excerpt-image-navigation/#post-1733938)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
