Can someone please tell me what is wrong with my plugin?
You need to redo the way you include the Javascript and CSS, or at least just the javascript. WordPress has a way to register scripts and styles and declare their dependencies, in your case it probably isn’t working because jQuery is not loaded. To include javascript do this within the init hook: add_action( ‘init’, ‘toggle_box_init’ … Read more