Add Youtube Icon to the Social Media options :)

Discussion in 'Woodpecker WordPress Business Theme' started by trasgu, Feb 15, 2016.

  1. trasgu

    trasgu Member

    Joined:
    Oct 13, 2012
    Messages:
    188
    Likes Received:
    18
    Location:
    Santander, Spain
    Hi there folks,
    we have just opened a Youtube channel and we would like to add it to our icons showing at the top. Can you please guide me at the time to do so correctly? Thx soooo much !!

    Url: http://www.coagricsal.hn

    Wish you all at Magnet a great week !! ((namaste))
    Jose
     
    gihanmohd likes this.
  2. priya

    priya Guest

    Hello, Jose...

    Greetings from InkThemes!

    It will require some source code customization in the theme..


    So please send us your dashboard credentials at [email protected] along with this thread link and we will do it for you..

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. trasgu

    trasgu Member

    Joined:
    Oct 13, 2012
    Messages:
    188
    Likes Received:
    18
    Location:
    Santander, Spain
    Hi there Priya,
    thx for your email, I'm familiar with code customization, if you can please share with me the instructions I will be happy to give it a try. Also, I have this Theme installed in 6 NGOs that might later need the same fix, therefore it would be good to know the procedure so I don't bother the magnet team toooooo much ;)

    Best regards,
    Jose
     
  4. priya

    priya Guest

    Sure Jose, here are the screenshots for you, please follow all the steps carefully...

    1) youtube_icon1.png

    Here's the code
    Code:
      <?php if (woodpecker_get_option('woodpecker_youtube') != '') { ?>
                          <li class="yt"><a href="<?php echo                 woodpecker_get_option('woodpecker_youtube'); ?>" target="_blank"></a></li><?php
        } else {
           
        }
        ?>
    2) youtube_icon2.png

    code is as follow..
    Code:
    $options[] = array("name" => "Youtube",
                "desc" => "Mention the URL of your youtube here.",
                "id" => "woodpecker_youtube",
                "std" => "",
                "type" => "text");
    Now, upload youtube image in images folder as I have mentioned in below screenshot

    youtube_icon3.png

    Now add CSS code for youtube in style.css file, please follow the screenshot given below.

    youtube_icon_css.png

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page