Tag Info

New answers tagged

1

obviously the answer is no. wordpress do not load JS and CSS on the admin side if it is not needed. In addition your method will probably trigger all kinds of plugins which assume that wp_head and wp_footer are triggered only at the frontend which might create "interesting" side effects. If you want to customize the admin you will have to actually write ...


1

I actually ran into a similar issue yesterday. A theme I was working with was adding 500+ lines of internal styles to the header which absolutely drives me nuts! I ended up finding a clever solution online to work around this which you could use for CSS. The JavaScript side I'll explain toward the bottom. --- :: CSS :: --- There's a few key points in how ...


-1

You've probably came across several different methods for including JavaScript and CSS. There is one primary method recommended in the WordPress Codex. The safe and recommended method of adding JavaScript to a WordPress generated page, and WordPress Theme or Plugin, is by using wp_enqueue_script(). This function includes the script if it hasn't already ...



Top 50 recent answers are included