Can't delete menu items
-
I am having trouble deleting menu items from my trailsnet website.
I would like to remove the trail tours and Trailsnet Reviews options from the main menu. I’d also like to remove each of the pages associated with that menu item. (the actual tours & product review pages)
I have tried hitting the Remove button (which temporarily removes the item) then the save button. Unfortunately, after hitting the save button, it takes a long time processing, then delivers me to a blank page. When I go back to the website and menu, the pages are still there.
I have successfully deleted/trashed the pages themselves, but I can’t get them to stop showing up in the menu.
I have also tried editing the pages & showing them as drafts, but that doesn’t work either.
Any suggestions?
Mod
I take it you are using a custom menu?
Have you edited theme files? Have you tried disabling your plugins to see if that is the cause?
So this past thread hasn’t been resolved https://forum.graphene-theme.com/graphene-support/removing-pages-from-my-wp-graphene-website
have you tried the advice to temporarily turn off the plugins?
if all else fails, you can just hide the items through css.
#menu-item-970, #menu-item-671 {
display: none;
}Quote:I take it you are using a custom menu?Have you edited theme files? Have you tried disabling your plugins to see if that is the cause?
I started disabling plugins one at a time, but so far no luck. I have 23 different plugins. Should I continue disabling them one at a time or is there an easier way?
1. Disable all plugins and try again.
2. Change theme to default Twenty Ten and see if you can save the menu
if nothing works, hide it by using Ron’s code.
You can also try deleting those menu items from database itself. Risky, but works.
Quote:So this past thread hasn’t been resolved https://forum.graphene-theme.com/graphene-support/removing-pages-from-my-wp-graphene-websitehave you tried the advice to temporarily turn off the plugins?
if all else fails, you can just hide the items through css.
#menu-item-970, #menu-item-671 {
display: none;
}
Thanks!! I’m going to give this a try, but first, a couple questions:
– I’m currently viewing the source code for one of the pages I’d like to remove from the menu. How do I find the specific items that I’m going to hide in all that code?
– If I make this code change, will it disappear the next time the theme is updated?
Quote:1. Disable all plugins and try again.2. Change theme to default Twenty Ten and see if you can save the menu
if nothing works, hide it by using Ron’s code.
Thanks again, Prasanna!
To make sure I do this correctly:
1. I check the box to select all the plugins.
2. I then select deactivate in the Bulk Actions pull down.
3. Then I try to Remove the pages from the menus.
4. Whether that works or not, then I go back to the plugins, select them all and hit “Activate” in the Bulk actions pull-down and all plugins will be working again.
Did I get that right?
Quote:– I’m currently viewing the source code for one of the pages I’d like to remove from the menu. How do I find the specific items that I’m going to hide in all that code?Use firebug to find out menu item ID. For example,
menu-item-1407
is the ID of Scottevest Travel Vest menu item.Quote:– If I make this code change, will it disappear the next time the theme is updated?It doesn’t, as long as you add the code to child-theme style.css or to Custom CSS.
Quote:Did I get that right?Yep!
Viewing 10 posts - 1 through 10 (of 12 total)
- 1
- 2
- You must be logged in to reply to this topic.