New Landing How can we help? Themeforest Theme Support Pinpoint Social Prifiles – you tube

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Pinpoint
  • #14865
    johnlalor
    Member
    Post count: 29

    Hi I just cannot get this to work. the site I am doing want to link to their youtube – username is Kim Tha Hay

    when I search you tube using Kim Tha Hay the page comes up.

    However when I put Kim Tha Hay in social profiles i cannot get the link to come up when i press the icon on the pages. Is it because the is a space between the words???

    Could you have a look for me. Thanks

    #15155
    Melanie – SUPPORT
    Member
    Post count: 11032

    Yes you would need to find the profile name, which usually is part of the URL.
    Is this the profile? http://www.youtube.com/channel/UCmYzl_CUSWh7DJR1ZJN3ASw

    Then try adding the URL or only UCmYzl_CUSWh7DJR1ZJN3ASw

    Cheers

    #15163
    johnlalor
    Member
    Post count: 29

    Yes I have tried both of those and still no go.

    The options seems to work fine with a user name that is has no spaces

    Is there any way around this

    Thanks

    #15243
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey,

    The YouTube widget is meant for profiles, not channels.

    I’ve created a tutorial for our Supreme theme, but it should work for Pinpoint as well, so here goes:

    ———————————————————————

    – Open wp-content/themes/pinpoint/includes/shortcodes.php via FTP with a code editor, such as Sublime Text 2 or Dreamweaver or Notepad++
    – go to line ±600, where you see this:

    if ($youtube) { $social_icons .= '<li class="youtube"><a href="http://www.youtube.com/user/'.$youtube.'" target="_blank">YouTube</a></li>'; }

    Change that to:

    if ($youtube) { $social_icons .= '<li class="youtube"><a href="http://www.youtube.com/channel/'.$youtube.'" target="_blank">YouTube</a></li>'; }

    It is also required to change ‘user’ for ‘channel’ in line 83 in widget-subscribers.php

    wp-content/themes/pinpoint/includes/widgets/widget-subscribers.php

    Save the files to server and it should work as you need it now.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 4 posts - 1 through 4 (of 4 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