WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] [closed] Social link (3 posts)

  1. paoloboni
    Member
    Posted 1 year ago #

    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

  2. Themonic
    Member
    Theme Author

    Posted 1 year ago #

    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.

  3. paoloboni
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic