New Landing How can we help? Themeforest Theme Support Supreme social profiles – you tube

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Supreme
  • #7718
    cheriserollins
    Member
    Post count: 10

    Hello,

    I have a YouTube Channel and I put in my YouTube User ID in the “You Tube” field under the social profile page on this template and it is taking me to an incorrect page.
    I noticed the extension is generated as: http://www.youtube.com/user/myuserID and my page is actually http://www.youtube.com/channel/myuserID – so it’s “channel” and not “user” How can I edit the social profile code so that it is linked to the correct web address?

    Thanks,
    Cherise

    #7850
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Cherise,

    This was meant for users only and I agree we should have an option to specify this.

    Not sure if there will be an update on this anytime soon, so here’s how you can do it yourself:

    – Open supreme/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>'; }

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

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #7854
    cheriserollins
    Member
    Post count: 10

    Great – Thanks, Cosmin!

    #10149
    Antonio Gomez
    Member
    Post count: 4

    Hello,

    I have follow your instructions and replace “user” by “channel” in supreme/includes/shortcodes.php line 600.

    However it still refers to user instead of channel in the blog, I notice the same loop is line 654, I also change this and still not working.

    Is there anything else that need to be changed?

    Thanks a lot, Antonio.

    #10217
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Antonio,

    This was tested and works, are you sure you saved the updated file to server?

    Regards,

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

    Cosmin
    Support Assistant

    #10306
    Antonio Gomez
    Member
    Post count: 4

    Hi Cosmin,

    I am pretty sure I have saved and updated file to server.

    path is /web/blog/wp-content/themes/supreme/includes/shortcodes.php

    I attached the file for you to check.

    URL is http://www.gloriavelazquez.com/blog

    I can give you ftp access so you can have a look if you wish.

    Thanks a lot for your support.

    Regards, Antonio.

    #10382
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Antonio,

    Yes, please privately reply with FTP info so I can take a look myself 🙂

    (we don’t allow uploading PHP files here in the forums)

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #10403
    Antonio Gomez
    Member
    Post count: 4
    This reply has been marked as private.
    #10407
    Antonio Gomez
    Member
    Post count: 4

    Hi Cosmin,

    I figure out the solution, it is also required to change ‘user’ for ‘channel’ in line 83 in file widget-subscribers.php

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

    Thanks anyway, regards, Antonio.

    #10725
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Antonio,

    Sorry for the late reply, we don’t usually work on weekends.

    And yes, if you use the widget, then that’s the correct edit to make – glad to hear you got it working 🙂

    Regards,
    ————————————————————————————————————

    Cosmin – Support

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