Jump to content
Sign in to follow this  
theTimHunter

Hooks - adding phone number to NavBar

Recommended Posts

theTimHunter

I want to add our company phone number with the phone glyph before it. How do I create a hook to accomplish this? See this site for reference: paychex.com

Share this post


Link to post
Share on other sites
catrina

First, please make sure that you are using either the base theme or PageLines Customize plugin. For reference: http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin Once you have either of these, a hook can be implemented.


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
theTimHunter

thanks @catrina. i have already installed the pagelines customize plugin. i also know to add the function to the functions.php file. my problem is that I am comfortable with html and CSS elements, but know little about php. I just need a little guidance. Thanks.

Share this post


Link to post
Share on other sites
Rob

You do not need to write a hook to include a phone number INSIDE the NavBar. Just go to Dashboard > Appearance > Menus and create a Custom Link. For the URL (Link) type # but for the label, type the number. Save. That's all it takes.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
theTimHunter

That worked perfectly. Know how I could add the phone glyph also?

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  

×