[Plugin: Contact Form 7 Datepicker] Load Script/Enqueue Script not working
-
The enqueue options as shown on the Changelog page, doesn’t appear to be working.
if (is_page('Form page')) { if (function_exists('CF7DatePicker')) add_action('wp_enqueue_scripts', array('CF7DatePicker', 'plugin_enqueues')); }
or
function cf7dp_enqueues() { if (is_page('Form page')) { if (function_exists('CF7DatePicker')) CF7DatePicker::plugin_enqueues(); } } add_action('init', 'cf7dp_enqueues');
I’ve tried both replacing ‘Form page’ with the page the Date Picker is being used on, but it won’t appear.
Any idea would be greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Contact Form 7 Datepicker] Load Script/Enqueue Script not working’ is closed to new replies.