Jump to content
Sign in to follow this  
thanp73

phone # in menu

Recommended Posts

thanp73

I am trying to get my phone nubmer in top right header position, we can not figure out how to do so within the ocnfines of pagelines/ not modifying them files. my quick answer was to put the ph number in a menu item in brandnav. look OK, problem is it's not recodnized as a phone number by mobile browser. the html for a phone # is 317.456.2564 but this is wiped out when I save the menu item with this type of format in the menu controls suggestions appreciated for 1) how do I put a LARGE pbone nubmer above brand-nave menu and right justified top right on my theme or 2) make the html of the ph nubmer in the brandnav menu appear properly on mobile. thx

Share this post


Link to post
Share on other sites
Simon
WordPress does not support phone numbers in the menu: http://core.trac.wordpress.org/ticket/18469 You could add the number with a simple filter: [code]function custom_add_last_menu_item($items) { $items .= ''; return $items; } add_filter('wp_nav_menu_items','custom_add_last_menu_item',10,1);[/code]

Share this post


Link to post
Share on other sites
thanp73
how would I add large phone number above brandnav, top right corner of site? I'd like larger font size and phone icon ideally, larget than brandnav items, and get ph # OUT of the brandnavmenu as that was a temp fix cause we can??™t figure out how to stick it in the header without messign with core theme files which wil lget overwritten next week with next update thx for assistance

Share this post


Link to post
Share on other sites
Rob
Which product do you have? May we have a link to your site? Thanks.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
thanp73
http://www.annuitystraighttalk.com pagelines 2.1.1

Share this post


Link to post
Share on other sites
catrina
You can use a hook to implement the number above the menu in the header. You will need to install the Pagelines Customize plugin (http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin) first in order to use hooks. It's available for installation on the Store (under the Pagelines tab on your Dashboard).

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×