Dear Enfold-team,
I would love to have your Social Share Buttons in each single event post of the Event Calendar plugin. I found this topic https://kriesi.at/support/topic/how-to-make-enfold-social-share-buttons-availabe-for-other-custom-post-types/. Is your below given code still valid?
add_action('tribe_events_single_event_after_the_content', 'tribe_events_single_event_after_the_content_mod');
function tribe_events_single_event_after_the_content_mod() {
echo do_shortcode("[av_social_share title='Share this entry' style='' buttons='' custom_class='']");
}
The participant wrote that “In fact it ends up in another <div> and that causes that the boxes containing the eventdata will be pushed out of the visible screen if you look on a mobile phone“, so you edited the code a bit, but did not tell how.
Can you please help and provide the correct code that I may use? That would be great. Thanks a lot for your efforts in advance.
Best regards
Sophie
Hey Sophie,
Thank you for using Enfold.
The editor somehow re-edited the code so we had to update it. The code should work.
Best regards,
Ismael
Hi Ismael,
great, that works! Awesome! I also a added via Custom CSS some margin to the top and to the bottom and so far it seems to look fine on all devices. You can close this out :-) !
Thank you again for all your efforts.
Kind regards
Sophie