[Resolved] [Plugin: Genesis Title Toggle] Metabox script conflicting with other plugin
First off Bill, thanks for the handy plugin… it has worked great for me on many genesis websites.
That said, I recently ran into an issue where this plugin conflicts with another great plugin… in this case, the Types plugin.
The problem appears when I try to add a new custom field (with a date-picker) via the Types plugin… the Types date-picker becomes non-functional. After disabling all my plugins, I was isolate the problem to the Genesis Title Toggle (GTT) plugin, and more specifically the problem lies within this file: /lib/metabox/jquery.cmbScripts.js included with the GTT plugin. It appears as though the both plugins are trying to load similar/conflicting datepicker scripts, thus preventing the Types datepicker from working.
wp_register_script( 'cmb-scripts', CMB_META_BOX_URL.'jquery.cmbScripts.js', array( 'jquery','media-upload','thickbox' ) );
Afterwards, both plugins seem to work properly… but I’m sure there’s a better method. Obviously I could leave this commented out, but it would be great to find a solution that won’t re-appear when I upgrade the GTT plugin.
Any suggestions? Thanks in advance!
- The topic ‘[Resolved] [Plugin: Genesis Title Toggle] Metabox script conflicting with other plugin’ is closed to new replies.