[av_social_share style='minimal' buttons='custom' share_linkedin='aviaTBshare_linkedin' share_facebook='aviaTBshare_facebook' youtube='youtube' share_mail='aviaTBshare_mail' custom_class='' admin_preview_bg='' av_uid='av-670mc8']
Is there a way to use Youtube in this Shortcut?
Hi Landwirtco,
Can you give us a screenshot of what you’re trying to achieve?
Best regards,
Nikko
Hi Landwirtco,
I believe you’ll need to use a child theme for this: https://kriesi.at/documentation/enfold/child-theme/
Then copy footer.php from the parent theme (enfold) to the child theme.
Tweak the child theme’s footer.php file and find this code (line 245-250 in 4.8.2):
if( $menu )
{
echo "<nav class='sub_menu_socket' " . avia_markup_helper( array( 'context' => 'nav', 'echo' => false ) ) . '>';
echo $menu;
echo '</nav>';
}
below this code, you’ll need to add:
echo do_shortcode("[av_social_share style='minimal' buttons='custom' share_linkedin='aviaTBshare_linkedin' share_facebook='aviaTBshare_facebook' youtube='youtube' share_mail='aviaTBshare_mail' custom_class='' admin_preview_bg='' av_uid='av-670mc8']");
Hope this helps.
Best regards,
Nikko
Hi Landwirtco,
I apologize for the misunderstanding, the reason youtube is not included in Social Share is that there’s no feature on youtube where you share a page of your site there unlike in facebook, twitter, etc.
I believe what you want is a Social Follow which I think you can use the Icon element’s shortcode in order to add it.
Best regards,
Nikko
Hi Landwirtco,
We’re glad to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko