I'm just getting started with WordPress and I need some help creating a menu. I'm using WordPress 3.1 with the Suffusion theme.
I've got a dropdown menu functioning. I created a category. Let's call it "My Pages". I want to list the pages in my site (not posts) under this category. In the Menu section of WP, I dragged the required pages and placed them under "My Pages". I indented them. I activated the menu. The menu appears, and I can use the dropdown to select the page I want.
The problem is that if I click the heading, "My Pages", then I get "Not Found. Sorry, but you are looking for something that isn't here." How do I solve this problem? I don't want the menu heading to open its own page. I simply want it to be the heading for the dropdown menu.
Thank you.
-Laxmidi
Okay, I figured it out.
1) In Suffusion Options --> Other Graphical Elements --> Main Navigation Bar --> Pages in Navigation Bar --> "Pages" Title:
I set it to "My Pages".
2) Pages in Navigation Bar - All or Selected:
Checkmarked Include selections from the next option
3) Select pages to include/exclude in Navigation Bar:
Checkmarked the appropriate pages.
4) Clicked Save Page 'Main Navigation Bar'
5) In order to get the dropdown menu to display the pages in the correct order, edit each page and under Page Attributes input a number under Order. (I thought that Order only affected the horizontal positioning of tabs in the menu. In the dropdown menu it changes the vertical position).
Related
On my Wordpress site I have the main primary menu set up with links to pages & top level categories. When I'm viewing a page the top menu highlights the proper menu item and all works just fine, but when I click on a post that falls under one of the category menu items it is not highlighted. I want the category menu item to highlight when I click on a post that uses that category. How would I accomplish that?
Website: http://deutschmetal.com If you click on this post: http://deutschmetal.com/deutsch-metal-videos/rammstein-herzeleid-videos/ you can see that the top menu link "Videos" is not highlighted. I would like it to be highlighted when viewing the post.
Wordpress detects it if a page is the child of a page in the navigation. It also adds a extra class to it, so you can create some new CSS to make it look the way you want. In your case this would be:
.current-post-parent.current-post-ancestor {
background: #cb0808;
}
You can add this in your Wordpress theme, or if you are not familiar with coding you can use the customizer's custom CSS that is supported is most of the themes.
One part in my main menu (primary) should show submenus which links to different sections within a static site. So for example I have the main menu point "About us". When clicked the dropdown contains: "Team", "Resposibility", "Jobs"…
But All these subpoints in the dropdown should not link to different sites, but to different sections within the one site "About us".
It's like a one page functionality within a WP-Theme. But I need to customize this functionality.
I have no idea how to set up this in the menu section. (Because I am not dealing with different sites.)
I can imagine, that I could use a single page template and add id to the h2 tags - as anchors to link to from the main menu. But I don't know, how to register this and how to set up this in the menu bar.
(My template does not offer one page functionality. I just want this functionality only for one menu section.)
I know how to make meta boxes in pages and posts etc. But how do I add meta boxes to the menu page in the appearence -> menu page, for each menu item.
Add the moment, the menu items have to boxes: "Navigation Label" and "Titel Attribute". But I want to have another meta box for each menu item so the admin can type or choose a CSS class for, let's say, an icon.
The menu item "Home" should have an home icon, "About" an about icon and so on.
How do I accomplish that? Or is there an easy other way I don't know about?
This feature is built-in. Almost all screens have a Screen Options feature. In Appearence -> Menus, it has an advanced option CSS Classes:
I'm using the default Wordpress theme Twenty Eleven.
I was wondering if it's possible to add a menu in the sidebar, that leads to "hidden pages", pages that are not listed in the classic menu bar on top.
I want these menu voices to be on every page, in the default sidebar.
Any useful plugin that does this, or any other method? I wasn't lucky to find one until now.
Thank you!
create one custom menu for hidden pages
use this plugin Exclude pages from menu
and checked all hidden page, so, this will show only the pages which are checked..
this question belong on https://wordpress.stackexchange.com/
There is a default widget -called custom menu- in which you can select a menu to display.
Do remember to make a sperate menu
How do I add a link from the home page that goes to a new page with a different menu?
Example: from home page, click on 'Sales Department' menu link, which goes to the Sales Department page. This shows a new menu with ten new menu items on the Sales Department Page.
I am able to create menus, menu items, blocks and pages but unsure how to build a multi-menu structure as described above.
Menus, by default, have a UI presence in the form of a block. Within each block, you can specify which pages it will or will not show. This will give you the appearance of having content/page specific menus.
For instance, menu1 will only show on /home. Within menu1 there is a link to a page called /contact. On /contact, there is another menu (menu2) with links /contact/email and /contact/phone. For the menu1 block, the specified pages are / and /home. For the menu2 block, the specified pages are /contact and /contact/*.
Add menus in blocks and specify in which page each menu should be visible. Look in the block setting properties: you can add the pages there.
After a bit of playing around, this is what worked for me:
Create a new page called "Human Resources Page".
Link to parent item "Navigation Page".
Enter a menu link title "Human Resources Page" (otherwise it will not appear in menu).
Create a new menu called "Human Resources Menu" (human-resources-menu)
Show block on specific pages: <front>.
Add menu item called "Organization Chart".
Attach to parent menu "Human Resources Menu".
In blocks, assign "Human Resources Menu" to "Right Sidebar"
Set "Page specific visibility settings" to hr*.