Hi Jetpack Team,
Here am reporting that jetpack conflicting with Appointment Scheduling Plugin
I have installed Appointment Calendar plugin on my site, but when i installed and connect Jetpack with WordPress.com account, then it break the functionality of appointment calendar. It loads calendar before body twice.
Here the solution I made:
remove_action('wp_head', 'jetpack_og_tags');
I just add this line in my plugin. After this appointment calendar working perfect.
I saw in Jetpack.php you have an array of $conflicting_plugins:
$conflicting_plugins = array(
'facebook/facebook.php', // Official Facebook plugin
'wordpress-seo/wp-seo.php', // WordPress SEO by Yoast
'add-link-to-facebook/add-link-to-facebook.php', // Add Link Facebook
'facebook-awd/AWD_facebook.php', // Facebook AWD All in one
'header-footer/plugin.php', // Header and Footer
'nextgen-facebook/nextgen-facebook.php', // NextGEN Facebook OG
'seo-facebook-comments/seofacebook.php', // SEO Facebook Comments
'seo-ultimate/seo-ultimate.php', // SEO Ultimate
'sexybookmarks/sexy-bookmarks.php', // Shareaholic
'shareaholic/sexy-bookmarks.php', // Shareaholic
'social-discussions/social-discussions.php', // Social Discussions
'social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php', // NextScripts SNAP
'wordbooker/wordbooker.php', // Wordbooker
'socialize/socialize.php', // Socialize
'simple-facebook-connect/sfc.php', // Simple Facebook Connect
'social-sharing-toolkit/social_sharing_toolkit.php', // Social Sharing Toolkit
'wp-facebook-open-graph-protocol/wp-facebook-ogp.php', // WP Facebook Open Graph protocol
'opengraph/opengraph.php', // Open Graph
'sharepress/sharepress.php', // SharePress
);
And you also doing Suppressing, If certain plugins are active, Jetpack's og tags are suppressed.
foreach ( $conflicting_plugins as $plugin )
{
if ( in_array( $plugin, $active_plugins ) ) {
add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );
break;
}
}
Now Question is?
Is that solution effect anything in Jectpack plugin?
Suggestion: Add Appointment Calendar In your conflicting plugin array list. This will help a lot.
Thanks....
-FRANK FARAZ