Tagged Questions
0
votes
1answer
81 views
Display all submenus
For a custom jquery menu I'd like to show all submenus and hide / show each on demand. However my problem is to show all submenus in the first place.
As of now I am managing the first level through ...
0
votes
1answer
39 views
Showing Custom Menus in the sidebar
I want to get custom menu in my top level page and the sub pages which are not child of the top level pages.
I got many examples using wp_list_pages but it requires the sub pages should be the child ...
0
votes
1answer
86 views
How to use wp_list_pages on a grandparent page
I am using wp_list_pages to show the page structure on a website. For instance, if I use this code, it will show me the complete child / grandparent heirarchy of the current page the user is on:
...
0
votes
2answers
122 views
Handling complex multi-level architecture / menu for large site
I am trying to get feedback and ideas for solving an information architecture / content management problem using wordpress.
I have a large site ( 1,000+ pages, hundreds of posts ) made up of ...
0
votes
2answers
187 views
wp_list_pages: only show subpages on the parent page?
I'm using wp_list_pages('title_li=') on my site.
Some of my pages do have subpages, however I don't want to list them unitl I'm on an actual parent page that has subpages.
So imagine my front-page:
...
3
votes
0answers
166 views
Highlighting current item of custom post types' sub pages, listed by wp_list_pages
The below code is for listing the custom post types itself and its children in the sidebar.
The code works great but does not highlight the sub pages.
In functions.php:
...
1
vote
1answer
336 views
How to remove the HOME menu item
I am using wordpress 3.4.1.
I am mainly creating a static site and for that have created and arrnaged the pages, and wordpress has nicely created the pages in proper nav-menu format for me, which is ...
0
votes
1answer
69 views
Second tier sidebar navigation
I'm trying to create a second level navigation in WordPress. I've found lots of examples, but none of them seem to do exactly what I want. This code below has me almost there, but I want an active ...
0
votes
1answer
138 views
Can you exclude child pages of a specific parent within a navigation?
For example, I'm using wp_list_pages to display the navigation, the child pages (and their children) appearing on hover as is typical. However, I want one of these parents to not display the children. ...
2
votes
0answers
137 views
wp_list_pages sort order is different for different languages [closed]
I'm using the following code
wp_list_pages(array('exclude' => '','title_li' => '','sort_column' => 'menu_order'))
If I switch the language the sorting is different. One of the main menu ...
0
votes
1answer
124 views
Change order that the menu is generated with wp_list_pages
I am trying to order the output of one of my menus to be based off of the way they are setup in the Appearance->Menus pane, however it seems to only want to do it alphabetically.
For example I ...
1
vote
2answers
229 views
wp_list_pages() but only show children on the branch you are on
Lets say I have this menu:
Top
|___ Sub 1
|___ Sub Sub 1
|___ Sub Sub 2
|___ Sub Sub 3
|___ Sub Sub 4
|___ Sub 2
...
0
votes
1answer
204 views
wp_list_pages() not showing on posts
I have the following code showing up a sub-menu on my website (in my header.php file) that shows all well and good, however when I open up a post it dissapears:
<div id="dep-menu">
<?php ...
0
votes
1answer
271 views
current_page_item and custom post type?
I have a page on my site that lists all posts for my custom post type 'Literature'.
However when I click on one of the posts, the highlighted active menu item changes to 'Blog'.
How do I assign ...
0
votes
1answer
307 views
Check if page has subpages
I'm try to build a menu with wp_list_pages() that must work like this:
Main Page
-Subpage1
-Subpage2
I check if the Page has_subpage and i can see the 2 subpages when i'm in the Parent ...
1
vote
3answers
3k views
Show just one level of child pages, wp_list_pages woe
I'm working on a site that has a fairly large page structure a few levels deep - in some sections there are a lot of pages.
The basic setup is something like this...
Parent
Parent
Parent
-Child
...
0
votes
1answer
92 views
Parent/Child pages
I find that the parent/child pages in the "Pages" area of WordPress has become a bit confusing since the introduction of the new menu creation area.
Using the new menu system, as far as I know I can ...
0
votes
2answers
1k views
How to show only parents subpages of current page item in vertical menu?
I just can't find a way to make it possible to show only current parent items down to current page item in a vertical menu the "wordpress way".
What I want to achieve is the following dynamic ...
0
votes
1answer
311 views
horizontal menu / 4-level depth
I need a 4-level horizontal menu.
which is the best way to build, organize and style it? "Active" tabs should be highlighted.
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ...