V2 break MEC shortcode

This topic contains 9 replies, has 5 voices, and was last updated by  Kiran 4 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515452

    Dirk Schrama
    Expired Member
    Post count: 5

    Hi,

    since upgrading to V2 the plug-in is breaking some shortcode from another plugin: Modern Events Calendar.

    Example: https://obstakels.com/kalender/evenement-aanmelden-op-kalender/

    When I disable geodirectory it all works.

    Do you see this more often?

    Best, Dirk

    #515487

    Kor
    Moderator
    Post count: 16516

    Hi Dirk,

    Thanks for your post. This isn’t a known issue and I’d suggest that you check with the plugin author first. Also, share your Website WP admin access here in private reply and we’ll check this out from our end.

    #515554

    Dirk Schrama
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #515565

    Alex Rollin
    Moderator
    Post count: 27815

    I am not able to connect to the site.
    Please let us know when it is back online.

    Also please include a link to the page where we can see the issue. I am not sure if that is what the first link is.

    #515566

    Dirk Schrama
    Expired Member
    Post count: 5

    It’s up. What do you see?

    #515597

    Alex Rollin
    Moderator
    Post count: 27815

    For me the form at the link you sent works and I don’t see any odd code, I submitted an event.

    How to see the issue?

    #515630

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #515828

    Kiran
    Moderator
    Post count: 7069

    Hi Dirk,

    Provide us FTP credentials for the staging site so we can apply & check fix there.

    Kiran

    #515829

    Dirk Schrama
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #515845

    Kiran
    Moderator
    Post count: 7069

    Hi Dirk,

    Use following PHP snippet to fix conflict with “Modern Events Calendar” plugin. You can add snippet in child theme functions.php file or via snippet plugin.

    
    
    /**
     * Fix conflict with "Modern Events Calendar" plugin shortcode.
     */
    function gd_snippet_fix_conflict_mec( $editor_id ) {
    	global $shortcode_insert_button_once;
    
    	if ( ! is_admin() && $editor_id == 'mec_fes_content' ) {
    		$shortcode_insert_button_once = true;
    	}
    }
    add_action( 'media_buttons', 'gd_snippet_fix_conflict_mec', 0, 1 );

    Regards,
    Kiran

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket