If you want to enqueue the scripts only on the “Events” page, change the following code to include the conditional tag is_page() function public_enqueue() { //Scripts wp_enqueue_script(‘events-manager’, plugins_url(‘includes/js/events-manager.js’,__FILE__), array(‘jquery’, ‘jquery-ui-core’,’jquery-ui-widget’,’jquery-ui-position’,’jquery-ui-sortable’,’jquery-ui-datepicker’,’jquery-ui-autocomplete’,’jquery-ui-dialog’)); //jQuery will load as dependency //Styles wp_enqueue_style(‘events-manager’, plugins_url(‘includes/css/events_manager.css’,__FILE__)); //main css } Change it to the following: function public_enqueue() { if( is_page(‘events’) ) { //Only load … Read more