darkfish
Member
Posted 3 years ago #
Hi,
Is there any way I can remove a link from the menu/navbar at the top of the page.
Take a look at http://www.henco-julfo.co.uk/, there is an ad in the sidebar titled "Link Exchange Advertisement". Just above the ad, there is a link saying "↓ More Info on this ad", i would like this to link to a page which explains about that ad and gives visitors the oppurtunity to report an innappropriate ad. This is currently set up, but the page that it links to is linked to in the menu/navbar, which i don't want. I have tried making the page private, but that also makes it unavailable if you are not logged in.
The theme i am using is widgetlike.
Any help would be much appreciated =)
darkfish,
You can exclude pages from the menu, using the wp_list_pages template tag. See this codex reference
http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List
darkfish
Member
Posted 3 years ago #
Thanks very much for the response, but where excactly should I put the code?
Before you try to exclude this through the code, are you sure your theme doesn't have options in your admin panel to allow you to exclude certain pages?
darkfish
Member
Posted 3 years ago #
I don't think so - where would this option normally be?
If your theme offers these options, look under "Appearance" in 2.7, or "Design" in earlier versions of WordPress.
If you want to do it through the code, look in header.php of your theme.
Or you can use a plugin to hide pages from output. A very good one is pageMash.
http://wordpress.org/extend/plugins/pagemash/
darkfish
Member
Posted 3 years ago #
I've installed the plugin and it works beautifully.
Many thanks for all your help.