Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Supreme › social profiles – you tube
New Landing › How can we help? › Themeforest Theme Support › Supreme › social profiles – you tube
Tagged: actually, code, correct, edit, field, its, linked, noticed, page, profile, profiles, social, template, user, web, youtube
- This topic has 9 replies, 3 voices, and was last updated 10 years by Cosmin – SUPPORT.
-
Posted in: Supreme
-
June 10, 2013 at 4:17 pm #7718
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,
CheriseJune 11, 2013 at 3:55 pm #7850Hi 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 AssistantJune 11, 2013 at 4:22 pm #7854Great – Thanks, Cosmin!
July 4, 2013 at 1:30 pm #10149Hello,
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.
July 4, 2013 at 5:47 pm #10217Hi Antonio,
This was tested and works, are you sure you saved the updated file to server?
Regards,
————————————————————————————————————
Cosmin
Support AssistantJuly 4, 2013 at 11:54 pm #10306Hi 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.
July 5, 2013 at 12:41 pm #10382Hi 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
July 5, 2013 at 1:41 pm #10403This reply has been marked as private.July 5, 2013 at 1:57 pm #10407Hi 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.
July 8, 2013 at 3:32 pm #10725Hi 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
-
Posted in: Supreme
You must be logged in and have valid license to reply to this topic.