Unable To enqueue scripts and stylesheets in my custom page
-
I am developing a plugin for second level security. its a wordpress admin plugin(not for frontend template). I made a custom page in this plugin that is displayed on after wordpress admin login. For this i load my custom page on admin_init and do exit after my page loads. so now if i enqueue any script or style for my plugin using
wp_enqueue_style
andwp_enqueue_script
. It is not including the scripts and styles in my plugin page, instead its including in admin head. So please tell me how it is possible to enqueue script and stylsheets in my plugin page. Please suggest me if there is any other way to add or include my custom scripts and stylesheets in my plugin page.
- The topic ‘Unable To enqueue scripts and stylesheets in my custom page’ is closed to new replies.