Title: Help with Page.php
Last modified: August 19, 2016

---

# Help with Page.php

 *  [Lauren](https://wordpress.org/support/users/liliripe/)
 * (@liliripe)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/help-with-pagephp/)
 * I’m using horizontally set tabs as my Page links. I have the code for these tab
   links in page.php. I want the page a person is currently viewing to have a highlighted
   tab, and I can make that happen, but since page.php is universal for all pages,
   they all show the same page highlighted. So if I’m on my “About the site” page,
   the “About” tab will be highlighted. Then, when I go to my “Links” page, the “
   About” tab is still highlighted. Can you guys think of any way around this?? 
   Thanks.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/help-with-pagephp/#post-1069098)
 * Take the code for the tab links out of page.php and place in a file called sidebar-
   top.php – ensuring that you use `wp_list_pages()` to generate the page list so
   that you can make use of the current_page_item class for highlighting purposes.
   Then call your new sidebar in page.php using `<?php get_sidebar('top'); ?>`.
 *  Thread Starter [Lauren](https://wordpress.org/support/users/liliripe/)
 * (@liliripe)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/help-with-pagephp/#post-1069113)
 * Thanks, esmi. =)

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

The topic ‘Help with Page.php’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [page.php](https://wordpress.org/support/topic-tag/page-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Lauren](https://wordpress.org/support/users/liliripe/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/help-with-pagephp/#post-1069113)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
