The navigation tag has no wiki summary.
0
votes
2answers
540 views
Blending Foundation's Tabs with Wordpress Nav Menu & Display Active Tab
I am currently working with ZURB's Foundation Framework. It's a terrific framework and my project is coming along a lot nicer and quicker than it would have beforehand. Foundation comes with ...
1
vote
1answer
234 views
how can i add css class on current page in wordpress wp_nav_menu
how can i add css class on current page in wordpress wp_nav_menu
For Example I Want To Use It In Wordpress wp_nav_menu
<li><a href="index.php?id=index&colortheme=green" class="selected" ...
0
votes
1answer
23 views
changing the labels inside appearance -> menus for some for the fields
So I've create a custom walker for nav menu (i am talking about the menus located at:
appearance -> menu -> add a new menu.
I now use the following for several things i need:
URL
Title Attribute
CSS ...
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
461 views
Remove the <ul> Tag from wp_nav_menu in Wordpress 3.4.1
my problem is the following:
I want to remove the tags from the wp_nav_menu. I already found different posts about it here but they don´t seem to work for me. Here is what I did:
First I ...
0
votes
2answers
1k views
add span class inside wp_nav_menu link anchor tag
I found examples adding a class to top level items, so we can display an arrow in menu items with sub-items, but is seems terrible to cope with the already built in WordPress classes, can't display ...
-1
votes
0answers
17 views
How to integrate jPanelMenu jQuery into WordPress [closed]
I would love to know how, if possible, to integrate a jQuery plugin into WordPress so it replaces the navigation.
Trying to integrate jPanelMenu in my WP site.
jPanelMenu is a jQuery plugin ...
0
votes
1answer
215 views
How to rewrite the output of wordpress nav menu?
I have been trying to figure this out for a while. I need to overwrite the default output of the wordpress nav system.
Right now it is like:
<ul id="main-nav">
<li ...
1
vote
1answer
143 views
Previous/next link to post in category, NOT tag?
On a single post page I have the following code after my loop:
<?php previous_post_link('« %link') ?> |
<?php next_post_link(' %link »') ?>
For some ...
0
votes
1answer
12 views
wp_nav_menu: indicate by id page grandparents
I have an web site with top-header menu and sidebar menu.
Situation, like:
header menu: books music movies (if we are now under music)
sidemenu: blues jazz dance (if we are now under "Jazz")
...
0
votes
1answer
32 views
How does the Twenty Twelve Navigation Bar work?
I have been pouring through the code trying to find out how the navigation menu is actually built. In my header I see:
< nav id="site-navigation" class="main-navigation" role="navigation">
...
0
votes
2answers
826 views
How do I retrieve menu items from one level only?
The WordPress function wp_get_nav_menu_items returns my whole site's navigation nested and all. Now if i want to get the nav menu for one "level" of that nested navigation only, how do I do that?
0
votes
1answer
20 views
Wordpress Navigation default output
Could someone please give me the Wordpress default navigation output, i've searched it around but havn't found it.
I would like the example navigation to also include one sub-menu link.
Or if ...
0
votes
0answers
38 views
Alternative to wp_get_nav_menu_items?
I have tried out a technique to implement the wp_get_nav_menu_items, however, a
child on the level 1 is being nested inappropriately on the menu.
Kindly suggest an alternative of how this issue can ...
1
vote
1answer
158 views
Primary navigation menu & footer not showing in category / tag page
I tried to find a solution for primary navigation not showing in some pages, ie. archive.php.
I found one from here but it's still giving me notices.
I'm using Reverie Theme in WordPress ...
0
votes
1answer
30 views
New posts label category with “new”
I have 3 different custom post types, with each type forming my main navigation.
When I post something new under one of them, I want that category in the nav to be marked with a "new" label for a ...
1
vote
4answers
828 views
Prev/Next child navigation for current page?
How can I get a Previous / Next navigation that only navigates the child pages of the current page?
By that i mean url.com/page/child1, url.com/page/child2 and so on..
I've been searching around ...
0
votes
0answers
14 views
Multiple select box navigation
I've spent several days trying to sort this out but I'm not getting anywhere... :(
I have a page that has event result tables. I have each result table on its own page. I want the users to be able to ...
-1
votes
0answers
11 views
I can't figure out why my second submenu is not showing up!
I have a second level submenu that is supposed to show up when the link "Accommodations" is hovered over, but it's not showing up! I don't know what I am doing wrong!
would someone mind taking a ...
2
votes
1answer
34 views
Test if page is child and has children, if so echo child pages also on grandchild pages
I am trying to show a sub-menu of child-pages only on level 2 pages (who have a parent) and if they have children. I am using the code below (made from several snippets I found), it works fine on ...
1
vote
1answer
137 views
Exclude Private, Draft pages from Primary Nav when using custom menu
I'm looking for ways to prevent "private" and "draft" pages from appearing (to non-logged-in admins) in a site's Primary Navigation menu which is based on a custom menu - other than manually removing ...
0
votes
1answer
42 views
Add <span> within the <li> output of <? wp_nav_menu() ?>
Im currently printing out:
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Which outputs:
<div class="menu">
<ul>
<li ...
0
votes
2answers
39 views
Add ID to target navigation link
I am using the following code for a navigation bar on a WordPress website:
<?php wp_list_pages("title_li="); ?>
Which currently spits out some links that look like:
<a ...
8
votes
3answers
4k views
Programmatically add a Navigation menu and menu items
Through API functions, I want to define a new Navigation menu, select it in the current theme, and then insert a few Pages as menu items. This is to be done for instance on a theme activation.
...
1
vote
0answers
15 views
Navigation menu not being assigned Theme Location
I am setting my navigation menu up using the following snippet in my functions.php.
add_action( 'init', 'add_menus' );
function add_menus() {
register_nav_menus(
...
0
votes
1answer
226 views
Using dividers in menu navigation - where to add code?
I've identified two methods of separating pages in nav menu on my blog (http://reasonandfolly.com) but cannot figure out what php or css file needs to be modified to achieve the result and will admit ...
-1
votes
0answers
39 views
Upload image functionality in menu admin
I want to create a custom plugin or function inside functions.php where it allows you to select an image from default Wordpress media library and allocate for each menu. I then want this to be passed ...
0
votes
1answer
29 views
navigation link based on custom field
I'm looking for a method to order posts by a custom field so that the navigational links on a single post template would point to the next or previous post in the sequence defined by a number in a ...
0
votes
2answers
236 views
twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade
After upgrading to 3.5, I discovered that navigation has disappeared outside of the main index page. Theme is TwentyEleven and I've verified that this still occurs after disabling all plugins.
...
1
vote
1answer
125 views
Two Navigation Menus - secondary nav is including main nav
Two Navigation Menus in Themes Produce the same menus?
reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
0
votes
1answer
121 views
Menu disappears after attaching [closed]
When I go to [Appearance > Menus] and attach menu to its area and refresh that page it disappears. This happens only on one WordPress theme (but not on default).
Do you have any ideas what could ...
-2
votes
0answers
13 views
Pagination for custom post type on page template [duplicate]
Hello I am trying to add pagination to a page template which I am using to display a custom post type. I have looked around for a few hours but I haven't come across clear set of instructions to ...
-1
votes
1answer
38 views
Pagination for Custom Post Type with Multiple Types
The first page shows the first results however, mypages/page2 leads to a 404 error. The following code is inside archives-mypages.php
<?php
$temp = $wp_query;
$wp_query=null;
$args = array(
...
-1
votes
1answer
24 views
Navigation menu styling problem [closed]
My dropdown menu has a border.But I do not want this in dropdown only in navigation bar.Here is the image!
Also how can i give transition to sub menus?
access {
clear: both;
background: #E5E5E5;
...
0
votes
1answer
33 views
next_posts_link returns same content of 1st page
Pagination seems to work fine... I have 21 posts... and it will go to 3 pages... however... every page shows 10 posts and the same content as the first page....
<?php
$temp = $wp_query;
$wp_query= ...
2
votes
1answer
55 views
current-menu-item not working with custom post type
I'm a wordpress newbie and I have annoying problem. I have a few custom post types (capability_type=post). Two of them i created with "Custom Post Types" plugin and when i put its categories in ...
1
vote
2answers
47 views
Two Search pages, One search form
I have a search form that I want to place in multiple pages (it will be in different header types) I do this by using the 'get search form' function. On my Search form I have radio sections listing ...
0
votes
1answer
48 views
Custom Post Type Navigation on Custom Field
I'm working on a Custom Post Type sorted on a Custom Field. No problem when I list out the posts. But when I go to the single post page for one of these, I want the Prev and Next navigation links to ...
1
vote
1answer
452 views
How can I implement faceted search with Wordpress 3.x?
I would like to allow visitors to a site to search for posts based on various attributes (categories, tags, custom fields).
I have tried using Solr, but this doesn't appear to work.
I tried using ...
1
vote
0answers
39 views
Wordpress Export Import Site Navigation Menu
When I do an export and import the menus get transferred but I have to set the Site Navigation Menu manualy. Obviously it's only a small detail but can I ask is this a bug or expected behaviour and is ...
0
votes
0answers
29 views
next_post_link() not working properly
I am using next_post_link() and previous_post_link() in single-custom.php to
browse through post-type "custom".
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div ...
0
votes
1answer
27 views
Tabbed navigation in widget backend
I have just created a widget and i am trying to implement a tabbed navigation in the wp backend but it just seems more difficult than writing all the php code!
The categories metabox is an example of ...
0
votes
0answers
22 views
Altering adjacent_image_link() for attachment pages
I'm attempting to repurpose adjacent_image_link() for use with attachment pages. I have galleries that are based on an attachment taxonomy ("image-gallery") and multiple terms (the specific gallery ...
0
votes
0answers
29 views
Adjusting Pagination
I am currently try to fix some issues in the pagination on one of my client's sites. The code that was in place is:
if (!function_exists('prime_pagination')) {
function prime_pagination($args = ...
0
votes
0answers
57 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
0
votes
1answer
62 views
individual images as navigation design TwentyTen
I can't figure out a solution for changing the black bar in Twenty Ten to individual background images behind each link. Using an image I created in Photoshop I have tried changing a few things in the ...
0
votes
2answers
182 views
Multiple menu items highlighted
I am using WordPress as the CMS for my website. For my navigation menu, I am using WordPress' inbuilt navigation menu function. You add categories, page, etc, to this and it generates a list with ...
0
votes
0answers
26 views
Display Category Navigation wp-navi
I am writing here because after hours and hours I can't fix my problem.
I am using a Custom Theme
I am using the plugin wp-navi
My pagination works fine.
The problem is to display categories when ...
0
votes
0answers
23 views
Outputting Page Content in Two Places
I am working on a site for a client that is going to be structured very similarly to a store (though without the e-commerce capabilities). I am getting a bit hung up on how to output page content in ...
0
votes
1answer
44 views
Custom post type navigation - 404 on page 2
I have a custom post type portfolio and now I'm trying to enable navigation for the template where 10 portfolio items are shown. I'm using the following code to query the posts:
if ( ...

