0
votes
0answers
18 views

add classes to wordpress menu links

As the title already says, I am trying to add classes on the WordPress menu item links (so not the li, but the a element). If it is possible to achieve something similar to WordPress its own function ...
0
votes
0answers
20 views

Problem with custom menu links when moving wordpress installation to subdirectory

I know there's a ton of posts pertaining to broken links after migrating a wordpress installation, but I haven't been able to find an exact solution to this one. A site I'm working on has the ...
1
vote
1answer
364 views

Add custom menu item using wp_nav_menu_items filter

I have added a snippet to add a "Profile" link to my website navigation menu. My code: add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link'); function my_nav_menu_profile_link($menu) { ...
-1
votes
1answer
27 views

Unsual behaviour of navigation Menus

I deleted all the previous menus which where there in my site. Then I created a new menu called Home and added few pages to it So my menu looks like this Problem : When I click on About us and other ...
0
votes
1answer
108 views

Top menu link anchor href value change after online server?

I was recently launch localhost server on my computer to create local website. If I create new link that add to top menu. The href value was http://localhost.com/something/something. Does this href ...
0
votes
0answers
40 views

Show content of subdomain from specific menu-item?

If have a site with menu that has links that looks something like this: domain.com?page=3 domain.com?page=35 domain.com?page=3 I want wordpress to show content of shop.domain.com when user clicks ...
0
votes
1answer
22 views

Opening Menu link in another tab

I am adding a link to my Menu: Everything is working correctly except I would like the link to open in another tab and can't figure out how to. How would I do this?
0
votes
1answer
1k views

Active class to current link

How do I add the active class to the current link that the user is viewing? I have a mixture of pages and custom post types in my main nav menu and I know that wordpress has .current_page_item that ...
0
votes
1answer
758 views

How to add class to anchor using wp_nav_menu

Sorry if my post duplicate but i can't find best solution for my problem. I'm newbie on develop WP theme. Now i'd like to add class to current li and last li, but i don't know how to do? Hope someone ...
0
votes
1answer
25 views

Navigational error

Basically I have an image for a header and I changed the link behind that to go to the main website and was planning on making a news option in the menu to link to the blogs main page, after changing ...
0
votes
0answers
51 views

How do I add a link to the menu that has a charector (?) in it?

I'm trying to add a link to a drop-down menu but it gets lopped off every time. THe full address is https://www.ub-tonlinebank.com/onlineserv/HB/Login.cgi?runmode=REGISTRATION but is stops at ? and ...
0
votes
1answer
238 views

Adding different classes to anchor in navigation menu

Is this possible? I want to add different classes to the anchors, so not the same on all anchors. How can I do this? PS: I am using this: function add_nav_class($output) { $output= ...
0
votes
1answer
346 views

Admin only menu/page

Is it possible to show a menu item If only admin is logged in) For any other user the menu item does not appear. For example: if there are a few pages that have shortcodes or other functionality ...
0
votes
1answer
123 views

Simple form to add custom links to menu?

I currently have a menu set up called "sidebar links" with 5 custom URLs. In my widgets section I have a Custom Menu which shows my "sidebar links" menu. This basically gives my sidebar 5 links. ...
0
votes
1answer
60 views

Remove link from Page name in navigation bar

I have a wordpress site and there is a navigation bar with menu and submenu. I want to remove link attribute from menu items that have sub menu. Is it possible? because i couldn't achieve to this by ...
-1
votes
1answer
167 views

How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]

I'm currently working on building this site: http://2013.whitehallrow.com/ I would like to centre the menu items so that there isn't the large gap after "Row Club" on the right. I've tried to locate ...
0
votes
1answer
116 views

Main menu navigation links and new pages

Sorry i'm pretty new on wp, i would like to add new menu links and site pages, to the main top menu bar. I'm using a third parties template, and i see the top.php file which contains the top menu ...
-1
votes
2answers
128 views

Change menu item order

My primary navigation menu consists of pages, categories, and custom taxonomy. It appears to be in a random order. How do I adjust the order of the links? (the drag/drop in wp menus panel doesn't seem ...
1
vote
1answer
229 views

custom menu widget where menu title is a link

I am looking for, like the title of this question indicates, a custom menu in wordpress where the menu title itself is a link. It seems like a very simple thing, but after a lot of searching I've come ...
0
votes
1answer
713 views

Links do not open from click, only in new tab [closed]

I'm fairly new to Wordpress, but I'm encountering a strange issue. I have a menu set up, and I've put links to some of my pages inside of it. But, when I try to click on any of the menu items, nothing ...
0
votes
1answer
165 views

2 item in a same menu pointing to 1 page

I have a menu containing 2 item that pointing to 1 page, my question is how do i highlight the top level item according to where i click it. <nav> <ul class="mainNavi" id="menu-main"> ...
1
vote
2answers
1k views

Separator for custom nav menu

I creating a custom footer navigation in wordpress. I looked all over the wordpress documentation and still haven't found anything. So, what I'm trying to do is add an "|" in the navigation like this: ...
0
votes
1answer
450 views

How to show pages in menu without link

I need to have a menu like this: - a (link to a) -- b (link to b, children of a) -- c (link to c, children of a) - d (NO LINK, #) -- e (link to e) I have the menu composed by the pages, as ...
-1
votes
1answer
3k views

Add “sub-nav” class to a sub menu parent item

i have a problem. I have an CSS Dropdown Menu. The HTML Code of the is this: <ul id="nav"> <li><a href="#">Home</a></li> <li><a ...
-1
votes
1answer
63 views

Menu System: Custom Links

Is there a way to set default values for options selected in the WordPress menu system? My example would be if the "Custom Link" option was chosen, can this default to a _blank target? Thanks!
2
votes
3answers
529 views

HTTPS page link in menu

Ok, so I have a wordpress site with a lot of pages and menus that I've defined in the appearance/menus section of wordpress. One of my pages has a little payment form on, which I'd like to link to ...
1
vote
2answers
240 views

Adding existing links to custom navigation menus?

When I visit Appearance → Menu, I can add custom links, but not any links I've already created under Links. How can I do this?
1
vote
2answers
1k views

Force PDF download from custom menu?

I added a link to a PDF in my custom navigation menu. Is there a way to force it to download instead of open?
1
vote
1answer
2k views

Image as a link using wp_nav_menu()

In creating a custom navigation menu in TwentyTen ( WP3.01), is it possible to make an image a link to a page on the same site, using wp_nav_menu() ? Is it the case that wp_nav_menu() echos or returns ...
0
votes
1answer
109 views

Custom theme - pages in menu

I am glad for the opportunity to be a member of this community. Lately I decide to start learning wordpress and theme building so this is my first post here. I read some tutorials around the net about ...