I am trying to add pages to menu but when I click the button "Add to Menu" the menu structure section showing me this message "Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options" and menu items are not adding to the section. I am also adding screenshot.
Note: There is not error in console section.
First of all you need select the menu item from the list in left hand and click into "Add To Menu" button to add all selected item to Right Hand section, where you can drag and drop to arrange.
Thanks and Regards
Related
I want to display data in the mainpanel,by just clicking on the menuitems in my sidebarmenu.
So i have some menuitems like
Preprocessing
EDA
Text Classification
I want to open tabs with content specific to each of the menu items when i click on these menuitems.
You can use updateTabsetPanel (help) to change the selected tab.
How to disable top menu link in Wordpress to avoid redirect to another page on click. I only need to show submenus.
Give the menu item link a the value #.
Then you'll need some Javascript to prevent default link clicking action.
E.g. with jQuery:
$('.class').click(function(e){
e.preventDefault();
});
// replace class with whatever the selector of the link is. To cover ALL menu items that have sub menus (and have the WP classes), you can use '.menu-item-has-children a'
Add custom link to menu item (Put # value on link)
Log into your WordPress administration panel. Navigate to Appearance, and select Menus:
Navigate to Links on the left and type in the URL you want to have for this menu button, add Link Text to specify what the tab will say, and then click Add to Menu:
Optionally, if you would like to control whether your menu link opens in a new tab when clicked, check the “Link Target” advanced property from within Screen Options to reveal this setting on individual menu items:
Refresh the site and you will see your new custom page and link in the navigation menu.
my question is
i have menu with submenu ;when i click on menu it should not open because it has submenu ; in wordpress
see ex
Blockquote
https://wordpress.org/support/ ; when i click on support it open ,but it have two sub menu forums & Documentation;
My simple question is when i click on menu it should not happen because it has two sub menu ,it should open on clicking on submenu
Under wp-admin/Appearance/Menus click Custom Links (on the left hand side)
Leave the URL field blank
In the Link Text field, enter whatever text you wish to show as the main item on the menu
Next, add your sub-menu items (Posts/Pages) to the menu and drag them indented under the main item
This way, the main item on the menu won't be clickable, but a sub-menu would show up, with clickable links.
I have a QTabWidget and I want to add/remove/rename individual tabs. Some sources claim that you can double click it to get a tab editor. When I double click it, I get the "Object name" popup:
I need a similar editor like the one used for comboboxes:
I also tried to edit tab properties by right-clicking it in object tree. The menu is pretty stripped of any useful options:
How to manage tabs? Is it possible without XML editor? If yes how do I
... delete tabs?
... add tabs?
... rename tabs?
... change tab layout?
Just to make it more clear...
Add tab to QTabWidget:
From QTabWidget context menu → InsertPage:
Rename tab in QTabWidget
Select the tab to rename by clicking on it. Then edit QTabWidget property currentTabText in the property editor:
Delete tab in QTabWidget
Select the tab you want to delete. From QTabWidget context menu → Page X of Y → delete:
You should just work with each tab as with a normal widget on screen, without double click. To switch between tabs just click on them, for stacked widget there are two small arrows in the top right corner to switch between pages.
To delete tabs right-click then use 'Insert page', or choose page sub-menu where you can delete or rename page.
You can just drag tabs using header to change the order.
Above 'Insert page' there is a menu item 'Page N of M' (which is currently selected page), in there you will find an item - 'Remove page'
Here is my site:
http://wake9.com/blogs/norcal-merced-wakesurfing-competition-2009/.
Notice the menu item "Photos and Results". Hover over it and you will see sub menu items. I want to be able to click on the sub-menu items but the main menu item shouldn't be a page or be clickable. The only way i could get this item on the menu was to make it a page. Is there a way to just have a menu item that has sub menu items to content, but the actual menu item isn't clickable? I was thinking about using JQuery to remove the anchor tag, but that is a real hack and I want to know if there is an easier way.
Thanks in advance!
One option would be to use Page Links to plugin and set the main link as '#' . I tried this and it works in my blog.
What about using the jQuery.remove to remove the element?
something like this:
function removeLinkAttrib() {
var attrib = jQuery(#menus).find("a").attr("Photos and Results");
jQuery(attrib).remove;
}
I'm not sure if $(attrib).remove; will work, but you get the picture :)
(this answer is for people using Wordpress.com free sites):
You can go to Appearance > Menus, then add a custom link to the menu by clicking 'Links' in the left-hand column, and adding "#" as the URL (and whatever you want as a label). Then add this link to the menu. Open the options for the new menu item in 'Menu Structure', and then delete '#' from the URL, so the field is blank, and save changes. Now you can add sub-menus to this menu item, and there will be no link for this item on the main menu...works for me.