New Landing How can we help? Themeforest Theme Support Neighborhood Social Icons "Facebook" bug detected

Viewing 2 posts - 1 through 2 (of 2 total)
  • #35039
    laca
    Member
    Post count: 2

    be careful, when using social icons shortcodes in the footer (as well as in the header as an option),
    the Facebook link might not open. Instead it will try to open the “www.yourhostname/yourfacebooklink”, which will direct you to your 404 page.

    To fix it, edit the file wp-content/themes/neighborhood/includes/swift-framework/shortcodes.php

    in the line 619 instead of
    $social_icons .= '<li class="facebook"><a href="'.$facebook.'" target="_blank">Facebook</a></li>'."\n";
    use:
    $social_icons .= '<li class="facebook"><a href="https://www.facebook.com/'.$facebook.'" target="_blank">Facebook</a></li>'."\n";

    the same correction should be applied to the line 672.

    #35972
    Melanie – SUPPORT
    Member
    Post count: 11032

    You just need to make sure to use http:// – the full path – not only http://www.…

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register