diff --git a/class/dashboard/layout.php b/class/dashboard/layout.php index 521bd8e..ce9aaf7 100644 --- a/class/dashboard/layout.php +++ b/class/dashboard/layout.php @@ -193,6 +193,10 @@ abstract class MCI_Footnotes_LayoutEngine { wp_enqueue_script('jquery'); // enable meta boxes layout and close functionality wp_enqueue_script('postbox'); + // add WordPress color picker layout + wp_enqueue_style('wp-color-picker'); + // add WordPress color picker function + wp_enqueue_script('wp-color-picker'); // register stylesheet wp_register_style('mci-footnotes-admin-styles', plugins_url('../../css/settings.css', __FILE__)); // add stylesheet to the output @@ -258,6 +262,7 @@ abstract class MCI_Footnotes_LayoutEngine { // output special javascript for the expand/collapse function of the meta boxes echo '