Hot answers tagged


No it isn't. Server can not know browser width. Not sure it is even a smart idea since the width of the browser can change at any point.


You can add stylesheet in back-office, but you need for that use the admin_enqueue_scripts action. See Codex reference :


That isn't how functions.php works in WordPress. The functions.php in your theme root directory is loaded into WordPress environment by default as long as your theme is activated. It's used as a plugin to add features and functionality of your theme to WordPress. You should take a look at theme functions and including css & javascript for more info. ...


You have wp_enqueue_script( 'showMake' ); twice. Remove the last line from your sdm_load_javascript_files function and see if it works.

Only top voted, non community-wiki answers of a minimum length are eligible