WordPress.org

Support

Support » Themes and Templates » Iconic One » [Resolved] Social link

[Resolved] Social link

  • Hi,
    I’ve add the linkedin social button near the other but i unable to add the correct link to my linkedin profile in that code:

    <?php echo get_theme_mod( 'linkedin_url' , 'default_value' ); ?>

    [Moderator Note: Please post code & markup between backticks or use the code button.]

    Where can i add the variable ‘linkedin_url’ and assign it the correct url?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Themonic

    @themonic

    Remove whatever you have done and use this simpler method.

    Add this code after line 43 in header.php file, make sure it is inside the socialmedia div container.

    <a href="http://IMGlink" target="_blank"><img src="http://IMG.png"/></a>

    replace IMGlink with linked page url and img.png with linkedin png image, it must be full image URL.

    Thank you so mutch, now is ok 😉
    But if i want to change the code (for example assign a new url to twitter) in which file i should look? I want to modify that in the code, not add the url on the WP voice Aspect-> Customize -> Social

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Social link’ is closed to new replies.
Skip to toolbar