Incompatibility between Divi theme, ACF and your plugin
-
Hi.
I use the theme Divi with ACF and your plugin.
With ACF, I’ve created a “Date” control but I can’t use it because of a bug.
I’ve contacted Elliot (the developper of the ACF plugin) to ask him for support and he find the bug.
So let me transmit to you its response :).
[Elliot answer]
There is a line of JS within the ‘Structured Data plugin’ that adds the jquery datepicker to a few inputs. This is fine, however, this JS is run before the $(document).ready() action.The code in question can be found within the ‘assets/js/admin.js’ file:
$('.kcseo-date').datepicker({ dateFormat : 'yy-mm-dd' });
Moving this code within the ‘$(document).ready(function() {‘ function on line 51 solves the issue.
I would recommend that you contact the plugin developers and ask them to move any ‘element modification’ within the doc.ready function.This ensures better compatibility between plugins.
[/Elliot answer]I wish to thank you in advance to modify the code :).
Amicably,
Pierre.
- The topic ‘Incompatibility between Divi theme, ACF and your plugin’ is closed to new replies.