Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created February 10, 2022 14:35
Show Gist options
  • Save carmoreira/db8835e487217f79ae2650b52ea80e05 to your computer and use it in GitHub Desktop.
Save carmoreira/db8835e487217f79ae2650b52ea80e05 to your computer and use it in GitHub Desktop.
Fix conflict with WP Travel Engine - Advanced Itinerary Builder and Interactive Geo Maps
// the following code should be added to the child theme's function.php file
add_action( 'admin_enqueue_scripts', 're_add_color_picker',100 );
function re_add_color_picker() {
wp_enqueue_script( 'wp-color-picker' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment