Tagged Questions
-1
votes
0answers
33 views
Ajax tabs not animating content
I am having some trouble with jquery ajax in Wordpress. I want Ajax to load content from other pages in a div called "place-content". They are loading but it jumps to the top of the page every time a ...
0
votes
0answers
77 views
wp_list_pages with parent and children
I am making a wordpress theme for a company and I need to show the parent items with wp_list_pages(). The child items should only be shown if I am inside this parent.
Example:
Only show
menu a
...
0
votes
1answer
45 views
Search form as list item in menu?
What is the best way to do this:
<?php wp_nav_menu( array('menu'=>'Primary',
'container'=>'',
'items_wrap'=>'<ul id="%1$s" ...
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 ...
3
votes
3answers
2k views
wp_nav_menu: show menu only if one exists, otherwise show nothing
I'm trying to use wp_nav_menu to only display a menu if one exists, otherwise, display nothing.
If I delete the menu, it will output a list of the pages.
My functions.php file contains:
if ...
0
votes
1answer
626 views
wp_nav_menu: output featured image of each page listing
Context: I am building a portfolio index where I can sort the individual project links in my sidebar by priority of appearance. I've successfully done this using the wp_nav_menu(), where each project ...
1
vote
3answers
177 views
How do I apply a class to custom menu items based on user roles
I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is.
...
0
votes
2answers
900 views
confused about wp_list_pages() function - how to display selected top pages with all their subpages
I'm a bit confused about wp_list_pages() function.
Lets say I have 3 top level pages (with no parent) and each of them have some sub-pages:
page 1 [sub-pages: 1.1, 1.2, 1.3];
page 2 [sub-pages: ...