Okay, I give up. How do you remove links to current pages from the navigation bar in Wordpress? For example, I don’t want to see the Home navigation link on Homepage or About Us link on About Us page.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
closed as not a real question by Rarst♦ Dec 23 '12 at 19:17
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
I typically choose not to remove links from the navigation in order to keep things consistent throughout the site and I advise my clients to do the same. Instead, I style the current page differently so that the guest knows where they are. |
|||
|
|
|
hello you ll need to implement such thing in your header.php i guess since im not sure which hook you have to use ( other than init which i guess its not a good one ,cus im not sure) go have a read wp_page_menu and is_page
if ( is_page($page) ){
$page_to_exclude = the current page goes here
}
|
|||
|
|