Can I add text above the logo and to the left of the social media icons?
I would like to add a phone number and email.
Here is my website and also can you recommend one of your paid themes that I can use that will fit what I already have in place?
Can I add text above the logo and to the left of the social media icons?
I would like to add a phone number and email.
Here is my website and also can you recommend one of your paid themes that I can use that will fit what I already have in place?
Since you have modified this theme there might be some extra styling needed but that’s entirely up to you.
I just added the code into the them and now my website is broken and nothing shows up.
Can you help please!
I was able to go in via a backdoor and take the code out.
Is there a particular place I should place this code in the Functions.php?
// Add Custom Text in header via Child Theme functions.php
add_action( 'travelify_header', 'header_contact_details' , 5 );
function header_contact_details() {phone: 317-804-1721 email: [email protected]</div>';
}
All figured out and thank you!!!
I see that you have already figured everything out. For those finding this thread the proper solution would be like this and not the code mentioned by @laxbum
// Add Custom Text in header via Child Theme functions.php
add_action( 'travelify_header', 'header_contact_details' , 5 );
function header_contact_details() {
echo '<div class="header-contacts">Contact details goes here</div>';
}