Solved

Wordpress exclude current page from menu

Posted on 2011-03-16
3
432 Views
Last Modified: 2012-05-11
In wordpress I am using the below code to print the relevant menu:

<?php wp_nav_menu( array('menu' => 'Services' )); ?>

How can I make the menu to exclude my current page?
0
Comment
Question by:petewinter
3 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 250 total points
Comment Utility
0
 
LVL 5

Assisted Solution

by:meb_santoso
meb_santoso earned 250 total points
Comment Utility
check my answer on this post : http://www.experts-exchange.com/Web_Development/Blogs/WordPress/Q_26889247.html

Check in your theme option (left hand side, under Appearances) the link MENU like this one :

 menu
click on it, then you will get something like this on the right hand side:

menu2
-. make a new menu
-. tick on the pages that you WANT to appear (in this case I left out the FAQ)
-. click Add to Menu

and there you have it, a menu lefting out specific page(s)
0
 

Author Closing Comment

by:petewinter
Comment Utility
Many thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now