WordPress.org

Ready to get started?Download WordPress

Forums

multiple hyperlinks in header image (4 posts)

  1. nicolineusa
    Member
    Posted 1 year ago #

    Hi there,
    I have a question on creating multiple hyperlinks (for social icons) in the header of my page. http://www.nicolinemaes.com

    I've uploaded the header as one image - where the responsive logo used to be. Now I want to make the four social media icons clickable. Can you explain in dummy language how to do that? I wasn't able to get any custom social icons to work, I found directions how to do it, but have no clue where to put the code. I'm a total newbie to coding, but because of my work as a social media marketeer I would love to learn it myself.

    If you can help me do this, that would be amazing!
    Thanks in advance, Nicoline

  2. Bazan
    Member
    Posted 1 year ago #

    In this case where icons are in the same image as logo it is not possible.

    You have to delete them from header image, and add some social icons plugin.

    The code of plugin - standard it is something like :
    pluginname_show_icons();
    should be written in your

    header.php

    Next to the ...

    So it should be something like this:

    <header>
    ...
    <a href="..." class="logo ...">...</a>
    <?php if (function_exists('your-function-name'))
    {
     your-function-name();
    }
    ?>
    ...
    </header>
  3. nicolineusa
    Member
    Posted 1 year ago #

    Thanks for your prompt reply.

    ...but pff,that sounds complicated.
    I have the images for the icons, a friend created them for me.

    So I should install a social icons plugin, then use my own images and do the coding. Should the coding go in the child theme?
    Thanks again...

  4. Bazan
    Member
    Posted 1 year ago #

    In plugin options you adding URLs to your sites.

    In header.php u use a code from plugin which is written in installation page of wordpress's plugins datebase

Topic Closed

This topic has been closed to new replies.

About this Topic