Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Wordpress exclude current page from menu

Posted on 2011-03-16
3
Medium Priority
?
457 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 1000 total points
ID: 35147525
0
 
LVL 5

Assisted Solution

by:meb_santoso
meb_santoso earned 1000 total points
ID: 35160653
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
ID: 35180802
Many thanks
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses

596 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