Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #849561

    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

    #850274

    Hey Sophie,

    Thank you for using Enfold.

    The editor somehow re-edited the code so we had to update it. The code should work.

    // https://kriesi.at/support/topic/how-to-make-enfold-social-share-buttons-availabe-for-other-custom-post-types/#post-722780

    Best regards,
    Ismael

    #851560

    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

    #851858

    Hi,

    Great, glad we could help and thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold Social Share Buttons in single event posts of Event Calendar plugin’ is closed to new replies.