I am working on admin panel for wordpress, I need to add my styles and scripts into admin panel.
e.g.
function framework_js () {
wp_register_script('jq_js', get_template_directory_uri() . '/js/jquery.jqtransform.js', array('jquery'), true);
wp_register_script('fk_script', get_template_directory_uri() . '/js/fk-script.js');
wp_enqueue_script('jq_js');
wp_enqueue_script('fk_script');
}
add_action('wp_enqueue_script', 'framework_js');
function framework_css() {
wp_register_style('jq_css', get_template_directory_uri() . '/js/jqtransform.css');
wp_enqueue_style('jq_css');
}
add_action('wp_enqueue_script', 'framework_css');`
The issue that I wnat to know is:
How can I check these script have been added or not, is possible to use FireBug, if so? how??
Or is there and other way???
Thanks in advance
In webkit you can check the Network or Resources tab of the developer tools. The network tab is shown below.
Firebug has similar functionality.
You could also just check the page source for the
<script>and<link>tags in the<head>.