Home Forums Themes Support Myha About the link of social media icons

This topic contains 1 reply, has 2 voices, and was last updated by  admin 1 week, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2733

    I have a little problem with using your Myha theme when I establish a new website.

    I’ve changed the link to my Facebook and Instagram through the social settings,
    but the hyperlink of the social Icons on the top bar is still not changed. (always link to “#”)
    0
    1
    2

    How to solve it?

    • This topic was modified 1 week, 6 days ago by  shownlin.
    #2735

    Hi,
    Thanks for contacting us and choosing our product!
    Sorry for this issue.
    We’ll update it in next version.
    Now you can fix it by following steps:
    Step 1: Go to wp-content/plugins/haru-myha-core/includes/widgets/ then open file widgets.php
    Step 2:
    Change the code of function haru_get_social_icon on line 30 to 78 to:

    $twitter = '';
    if ( NULL !== haru_get_option('haru_twitter_url') ) {
    	$twitter = haru_get_option('haru_twitter_url');
    }
    
    $facebook = '';
    if ( NULL !== haru_get_option('haru_facebook_url') ) {
    	$facebook = haru_get_option('haru_facebook_url');
    }
    
    $vimeo = '';
    if ( NULL !== haru_get_option('haru_vimeo_url') ) {
    	$vimeo = haru_get_option('haru_vimeo_url');
    }
    
    $linkedin = '';
    if ( NULL !== haru_get_option('haru_linkedin_url') ) {
    	$linkedin = haru_get_option('haru_linkedin_url');
    }
    
    $googleplus = '';
    if ( NULL !== haru_get_option('haru_googleplus_url') ) {
    	$googleplus = haru_get_option('haru_googleplus_url');
    }
    
    $flickr = '';
    if ( NULL !== haru_get_option('haru_flickr_url') ) {
    	$flickr = haru_get_option('haru_flickr_url');
    }
    
    $youtube = '';
    if ( NULL !== haru_get_option('haru_youtube_url') ) {
    	$youtube = haru_get_option('haru_youtube_url');
    }
    
    $pinterest = '';
    if ( NULL !== haru_get_option('haru_pinterest_url') ) {
    	$pinterest = haru_get_option('haru_pinterest_url');
    }
    
    $instagram = '';
    if ( NULL !== haru_get_option('haru_instagram_url') ) {
    	$instagram = haru_get_option('haru_instagram_url');
    }
    
    $behance = '';
    if ( NULL !== haru_get_option('haru_behance_url') ) {
    	$behance = haru_get_option('haru_behance_url');
    }

    Hope this help!

    *****
    Best regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.