New Landing How can we help? Themeforest Theme Support Flexform Youtube social icon to link to channel not user

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Flexform
  • #21596
    Bitedge
    Member
    Post count: 345

    Hi guy’s how can I get the Youtube social icon to link to

    http://www.youtube.com/channel/UCMg56LlDJPFkctKue3qd-hQ

    As it is I can only link it to a username but the username that I created the website’s channel from is my personal one and when I link to it it displays my personal channel which I can not delete (because I use google Identity) and has nothing to do with the website…

    Thanks

    #21770
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Yes you can hack in to the code.

    Go to includes\shortcodes.php

    and in line #602 and #655 you find something like this

    $social_icons .= '< li class="youtube">< a href="http://www.youtube.com/user/'.$youtube.'" target="_blank">YouTube< /a>'."\n";
    

    in those line remove this alone “http://www.youtube.com/user/&#8221; and now enter the link you mentioned in the theme options, all set to go.

    Let me know, what you got.

    Thanks,
    laranz.

    #21785
    Bitedge
    Member
    Post count: 345

    When I go in to Cpanel file editor public_html/wp-includes/shortcodes.php has 377 lines of code and the term youtube does not feature in it once…

    #21786
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You should go inside, \wp-content\themes\flexform\includes\shortcodes.php not wp-includes/shortcodes.php

    Thanks,
    laranz.

    #21787
    Bitedge
    Member
    Post count: 345

    That works thanks, so I will have to do that after every time I update the theme?

    #21835
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Unfortunately yes!

    Thanks,
    laranz.

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

You must be logged in to reply to this topic.