Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved How do I add text to my header?


Question

Posted · Report post

I would like to add my phone number and address to my header above the social icons. I'm a complete coding beginner- can someone walk me through it step by step?

Share this post


Link to post
Share on other sites

8 answers to this question

Posted · Report post

Cerchris, this is a resolved topic. Please open your own topic so that we may address your concerns properly. Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks! Worked like a charm- it would've taken me a week to figure that out.

Share this post


Link to post
Share on other sites

Posted · Report post

Danny's code was missing the closing UL so make sure you add it, like this:

// ADDS CONTACT DETAILS TO BRANDING ------- //
add_action('pagelines_branding_icons_end', 'brand_mail');
function brand_mail() {
?>
<ul>
<li>Telephone: 1234 567890</li>
<li>Email: email@email.com</li>
</ul>
<?php
}

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there this tip didn't work for me - I am not using Platform Pro, is that an issue? or could there be another reason?

Share this post


Link to post
Share on other sites

Posted · Report post

hi there,

what do i have to do to put an image or even shortcode in the place of social icons? when i use your workaround the images are resized...

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

You can use the code below to display your contact information in your branding area. However, you will need to add some custom CSS, to position the information.

// ADDS CONTACT DETAILS TO BRANDING ------- //
add_action('pagelines_branding_icons_end', 'brand_mail');

function brand_mail(){ ?>

<ul>
<li>Telephone: 1234 567890</li>
<li>Email: email@email.com</li>

<?php
}

Share this post


Link to post
Share on other sites

Posted · Report post

This is a CLOSED TOPIC. Please create a new one. Thanks.

Share this post


Link to post
Share on other sites