I am trying to implement Google Analytics code to track addword calls, I need to replace where the phone number is in the very top of the header.
I have a Child theme and I have the help-main-menu.php accessible in it. I don’t know how to replace the phone number area with this code:
<span class="number">1-800-123-4567</span>
I want to remove your code and add this in only, replacing what you have there.
I figure i need to do something with this code:
<div id='header_meta' class='container_wrap container_wrap_meta <?php echo avia_header_class_string(array('header_social', 'header_secondary_menu', 'header_phone_active'), 'av_'); ?>'>
and change the header_phone_active to my html, but I’m not sure how if its possible.
Thanks
Hi LifeIsNow001!
Can you please post the code you would like to use here using http://pastebin.com/?
You can create a shortcode and insert it in phone info field – https://codex.wordpress.org/Shortcode_API
Regards,
Yigit
Just as you replyed I realized I could add code into the phone number and small text place, so I’ll just paste the code in there.
<span class="number">1-800-123-4567</span>
And I guess that should work right? Or do you think the shortcode_api is still needed?