Tagged Questions
0
votes
0answers
5 views
Adding custom menu entry
I want to add a custom (dynamic) login/logout link to the end of the top level menu of the twentytwelve menu.
Is there a way to do this by editing the theme (and its functions) only?
-2
votes
0answers
26 views
WP create menu items from all category and its sub category [closed]
i'm developing a theme which automatically use categorIES as menu item,
0
votes
1answer
245 views
How to open a lightbox form from a navigation menu item
I want to add a custom menu item to the main navigation menu, On clicking this item I want to open a lightbox form. I have the form-shortcode ready to be placed but on a page but I don't know how to ...
0
votes
2answers
98 views
how do i get pages to be visible to only members that are logged in
Hi i want to make a page for each user on my website. When a user logs in i want them to be able to click on pages that are just designed for them (basically when they log in i want them to be able to ...
5
votes
5answers
318 views
Add separator to admin submenu
I would like to add a separator to the admin submenu section, NOT in the top level section.
I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
0
votes
0answers
45 views
How to create this kind of sub-menu in new line?
In my design I need use this kind of wordpress custom menu.
Menu (I am able to do this)
Menu element with sub menu. (but not this one)
In this UI , I can not able to separate sub-menu to the new ...
0
votes
2answers
180 views
How can I disable parent menu item links?
I don't want to have the parent menu items of my site's nav menus linking to a separate page. For one thing I don't want to have a superfluous page. For another these links hobble site navigation for ...
0
votes
1answer
223 views
custom walker to add iconfont to wp_nav_menu
I want to add the font awesome iconfont to my menu list items, so I need to make a custom Walker.
Because the font per menu item will be different I was hoping to use the css class in the WP backend ...
1
vote
2answers
125 views
Add nav menu CSS class to body
I would like to add the CSS class of the current menu item (and the classes of its parents & ancestors) to the current page body classes.
For example, if the current menu item has a CSS class ...
1
vote
2answers
45 views
Sidebar links for different pages
Hey all i am wondering what i need to add in order to have a different sidebar for a set page?
I created a category for the page (called PatientEdu):
And made sure the page was linked to the ...
1
vote
1answer
80 views
pull non-wp site into content area of wordpress -or- pull wp header into non wp site?
I am building a site which has a ecommerce nature that is not able to be tied directly into wordpress. What my goal is to have a constant header that is generated by my wordpress header on all pages ...
2
votes
1answer
165 views
Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ...
I'm using a variation of a Stu Nichols CSS Menu ...
...
0
votes
2answers
181 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 ...
1
vote
0answers
195 views
wp_nav_menu custom walker - child items
I have written a custom walker to integrate a jquery dropdown nav script into my wp template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the unordered list ...
1
vote
1answer
159 views
Best way to customise wp_nav_menu [duplicate]
Possible Duplicate:
Menu items description? Custom Walker for wp_nav_menu()
I'm familiar with WordPress and using the WordPress menu system. But I'm looking for a way to add custom HTML to ...
1
vote
0answers
247 views
Help with walker for nav
For some reason, this walker won't work when I pass in 'echo ' => 0, it always prints the nav, and never returns the nav as a var. I can't seem to figure out where it's by passing that in ...
1
vote
0answers
26 views
Create custom page and add it in nav menu by code
I am creating a plugin, and this time it should: create a page and add it to the nav menu, all by code ... Here is an example: http://img823.imageshack.us/img823/8531/09072012205520.png
1
vote
2answers
98 views
Using my WordPress menu on another platform
I have a WordPress site and am adding a Shopify-hosted e-commerce section which will be hosted on their servers and accessible via a subdomain. Is there any way to mirror the WordPress Navigation for ...
0
votes
1answer
355 views
remove everything from wp_nav_menu
My theme has three 3 menus: two that are dropdown menus and one that is different. I want to remove the div, class, etc. from the menu that is different.
For Example:
I have three menus
topnav ( ...
3
votes
3answers
370 views
One site, 2 distinct sections: two different top nav menus?
I have a site that is in two distinct halves. I'd like the same template to apply to the whole site (from a look & feel perspective), but for each 'half' of the site to have its own top nav menu. ...
0
votes
1answer
64 views
Hide custom menu when when no menu selected
The title might not a 100%, feel free to correct...
I'm building a custom theme that has a couple of costume theme locations for menus (1 main menu, 1 footer menu, 1 "Follow Live" button). These are ...
0
votes
1answer
357 views
How to Use the Function is_user_logged_in To Display Different Menus?
So, I want to create different menus for people who are logged in or not.
I got a reply that i should use a function
if (is_user_logged_in()) {
wp_name_menu(array('theme_location' => ...
0
votes
1answer
378 views
How to create different menu's for not logged in visitors and for logged in members?
I'm creating a website which will provide services to members and I want to make it so that when a not logged in person comes to the website the menu is specifically designed for sales pages to make ...
0
votes
1answer
213 views
Main menu with first level of children always visible [closed]
first of all my apologise if there is a post with this question answers but I couldn't find it.
I'm trying to use the wp_nav_menu() to have two main parents and the related children always visible and ...
0
votes
1answer
484 views
Custom Post Type & Custom Menu Walker to append custom class for active post types
I have an interesting problem I am trying to solve here regarding a custom nav menu.
Essentially, I have created a custom walker class for my nav menu and I have manually added a menu entry directing ...
0
votes
1answer
193 views
Missing current_page_item in custom menu
I'm using the new custom menus in my side navigation and it only creates a class sub-menu in the UL's but does not use the current_page_item like when you use wp_list_pages(). I have 3 levels and only ...
0
votes
1answer
121 views
Theme Options Menu Item - Permission Issue
I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code in the functions.php file...
add_menu_page('Page title', 'Asteria', ...
1
vote
1answer
135 views
Hard-coding custom menu elements for menu manager
I realize that one can add custom links through the menu manager but is there a way to manually create such components through the functions.php file?
More specifically, one example here relates to a ...
1
vote
1answer
191 views
Adding all sub-pages to the menu manager
Is there some simple way which would allow one to add a page to a menu (through the menu manager interface) and be able to define if the inclusion of this item should automatically add all subpages up ...
0
votes
1answer
73 views
How would I make a function to dynamically determine if user is logged to change navigation menu text?
I would like to create a function to determine if a user is logged in or logged out. If the user is logged in I would like the navigation menu text to say "My Account" (this is what it currently ...
0
votes
1answer
642 views
Custom post type page highlights wrong menu item [closed]
I have a wordpress site based on the Thematic framework which has a static Home page, a Blog page (posts) and a News page displaying a custom post type named 'news'. My attempt to highlight the ...
0
votes
1answer
114 views
How to output all taxonomy links from a custom post type in a menu?
I made a custom post type called Product. And a taxonomy with the name 'product-category'. These taxonomies have pages where we show a list of the products that have that taxonomy.
Now my question is ...
1
vote
2answers
542 views
global menus made from master site's custom menus wpmu network
I'm looking into a way to have global menus across my network of blogs. Basically I am using wordpress as a CMS - the purpose of the network is actually to ringfence content. The sub blogs will be ...
1
vote
1answer
681 views
simple expandable vertical menu, java script problem
I am trying to create a simple expandable menu in wordpress.
Bellow you can see the javascript I am using (copy and mix from internet).
<script type="text/javascript">
...
1
vote
2answers
2k views
wordpress custom walker for thumbnails with custom menu
I'm still very novice at PHP so any help is greatly appreciated. Typically I have found the codex to be very helpful but it appears custom walkers may be outside its scope.
I'd like to have ...
2
votes
2answers
512 views
Organizing by super-categories (or nested categories)?
Suppose I want to blog about three somewhat unrelated main topics: Money, Languages, and Information-Technology on the same blog. How should I organize things for the best user experience? How does ...
0
votes
2answers
1k views
Limit User Iinterface for Admin?
Is there a plugin or a way where I can restrict or limit the buttons on the admin interface for a certain user?
For example:
for the user who has a role of a writer, he/she can only post content,
...
0
votes
1answer
305 views
Placing Admin Post Metaboxes in Tabs
I am looking for what code one would need to add into the functions.php file which would allow specific metaboxes to show up in tags instead of within their individual metaboxes. Can anyone help with ...
4
votes
2answers
725 views
Any official way to create an admin theme?
I was wondering whether there's a common way of customising the aspect of the admin panel.
I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like ...
