Title: Menu item highlight for posts
Last modified: August 20, 2016

---

# Menu item highlight for posts

 *  [paul448](https://wordpress.org/support/users/paul448/)
 * (@paul448)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/menu-item-highlight-for-posts/)
 * Hi Folks
 * I am trying to work out how to do the following:
 * My Blog page on my website displays all of my posts. and at the top of the page
   I have a menu where the ‘Blog’ anchor is highlighted to indicate that the page
   is ‘active’.
 * What I am trying to achieve is that when you click on a post the anchor for ‘
   blog’ still shows. At the moment it doesn’t when you click on the single page(
   posts).
 * In my header.php file I have the following:
 *     ```
       <nav>
   
       				 <?php wp_nav_menu (array('menu'=>'custom_menu'));?>
       			</nav>
       ```
   
 * If anyone can help it would be greatly appreciated.
 * Thanks in advance
    Paul

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 7 months ago](https://wordpress.org/support/topic/menu-item-highlight-for-posts/#post-3076529)
 * So the anchor for ‘blog’ currently disappears when you click on the single page?
 *  Thread Starter [paul448](https://wordpress.org/support/users/paul448/)
 * (@paul448)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/menu-item-highlight-for-posts/#post-3076535)
 * I want the anchor for ‘blog’ to remain highlighted when the user clicks on posts
   on the blog page.
 * At the moment the anchor in the menu for ‘blog’ is only highlighted when the 
   page is active, what i want is when you click on a post page the ‘blog’ anchor
   is still highlighted
 * I not sure is their is some sort of cod that can do this or if I am not doing
   something in the wordpress admin?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Menu item highlight for posts’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [nav menu](https://wordpress.org/support/topic-tag/nav-menu/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [paul448](https://wordpress.org/support/users/paul448/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/menu-item-highlight-for-posts/#post-3076535)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
