0
wp_register_script('moment', plugin_dir_url( __FILE__ )."js/moment.min.js", false, null, true);       
wp_register_script('fullcalendar', plugin_dir_url( __FILE__ )."js/fullcalendar.min.js", false, null, true);
        wp_enqueue_script('moment');
        wp_enqueue_script('fullcalendar');

        wp_register_style('fullcalendarcss', 'http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.2.3/fullcalendar.min.css');
        wp_register_style('fullcalendarprintcss', 'http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.2.3/fullcalendar.print.css');
        wp_enqueue_style( 'fullcalendarcss');
        wp_enqueue_style( 'fullcalendarprintcss');

These files which i have registered in my plugin.this is my plugin page code .

jQuery(document).ready(function($) {    



          var calendar = jQuery('#calendar').fullCalendar({
            editable: true,
            header: {
             left: 'prev,next today',
             center: 'title',
             right: 'month,agendaWeek,agendaDay'
            }

    }); 


  });

Now i am not getting any error nor getting my calendar at my page.

0

Please have a look on it:

https://wordpress.org/plugins/therich-wp-fullcalendar/

Thank you

0
jQuery(document).ready(function($) {    

    var calendar = jQuery('#calendar').fullCalendar({
        editable: true,
        header: {
         left: 'prev,next today',
         center: 'title',
         right: 'month,agendaWeek,agendaDay'
        }

    }); 

});

Now i am not gett

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.