Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #28600

    Hi Team,

    I urgently need a youtube-Socialmedia-Icon to show up in the header – at the moment there is non in your theme options. I urgently need this – how can we fix this???

    Thanks for your help,

    Martina

    #138070

    Me too

    #138071

    Hi, Martina

    The problem is that Entypo (the icon font) doesn’t include a YouTube icon. However i found a temporary workaround (using a video icon with the default red background):

    Be sure that you are using the latest version of Enfold, then you need to add these lines of code at the end of these files respectively:

    /enfold/includes/admin/register-admin-options.php:

    $avia_elements[106][0] = array_merge($avia_elements[106][0], array('Youtube' => 'youtube'));

    /enfold/functions.php

    $avia_config = array_merge($avia_config, array('youtube' => '🎬'));

    Then if you go to the Theme options you will see that there’s is a Youtube option:

    Regards,

    Josue

    #138072

    I can’t get that fix to work, I’ve tried implementing it at both the parent and child theme level but YouTube is not appearing as an option in the dropdown menu.

    #138073

    Ignore that last post, it is working now.

    #138074

    Hi,

    Glad you get it working :).

    Regards,

    Josue

    #163529

    Hi,

    Has this fix for showing a Youtube icon stopped working now? I have just updated to the lastest version of Enfold version 2.2 and am now getting an error:-

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php on line 1049

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php:1049) in /home/content/14/6708814/html/wp01/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php:1049) in /home/content/14/6708814/html/wp01/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27 – See more at: http://wp01.techfolio.me/services/straightening/permanent-straightening/#sthash.nkJ5zSFY.67ArxtN0.dpuf

    thanks for your help,

    Jake

    #163815

    Hi Jake,

    I’m getting no errors when viewing the site and the fake youtube icon is in place and working without issue from what I can see.

    #166020

    hi all,

    working on a project using Enfold 2.2 on WP 3.6.1 at http://beta.batook.org

    i have edited my files as suggested in https://kriesi.at/support/topic/you-tube-social-icon-for-display-in-header-missing/#post-138071

    but can’t make the youtube option appear in the drop down menu…

    a clue ?

    ***EDIT***
    problem solved by last Enfold update

    • This reply was modified 11 years, 1 month ago by soifran. Reason: problem solved
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘YOU TUBE Social Icon for Display in Header missing’ is closed to new replies.