Seems there’s one line missing in the code of your theme, before </head>: wp_head();
This function makes includings for scripts registered in the wordpress, called by the theme or plugins.
You have copied the plugin’s code in your aslider.js but this code requires the jquery plugin I’ve made to be included before calling $('.calendar-archives').archivesCW();
If you don’t want to use wp_head(); you should include this JS:
jquery.archivesCW.min.js (<script src="<?php echo plugins_url();?>/archives-calendar-widget/jquery.archivesCW.min.js"></script>) just after jquery-2.0.3.min.js and before aslider.js
Viewing 1 replies (of 1 total)
The topic ‘I am new In WP’ is closed to new replies.