Tagged: header, social icon
-
AuthorPosts
-
August 28, 2013 at 3:38 pm #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
August 28, 2013 at 8:40 pm #138070Me too
August 30, 2013 at 12:52 am #138071Hi, 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
September 10, 2013 at 8:11 am #138072I 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.
September 11, 2013 at 12:31 am #138073Ignore that last post, it is working now.
September 11, 2013 at 1:37 am #138074Hi,
Glad you get it working :).
Regards,
Josue
September 19, 2013 at 12:36 pm #163529Hi,
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
September 20, 2013 at 12:41 am #163815Hi 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.
September 25, 2013 at 12:12 pm #166020hi 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
-
AuthorPosts
- The topic ‘YOU TUBE Social Icon for Display in Header missing’ is closed to new replies.