Tag Info

New answers tagged

1

While you can practically control order of hooked things by priority, it's not always the right tool for the job. In case of styles you should be using appropriate wp_enqueue_style() function which allows you to easily set up elaborate dependencies which will be automagically processed by WP to produce desired order of styles output. Unfortunately while ...


0

Besides WP Minify, I would recommend you to use the Selective Loading Plugin. It'll help you load only the plugins you want to load based on pages/posts and categories and it will improve your WP's loading time.


0

The margin style block is output by the _admin_bar_bump_cb function which runs on the wp_head action. You can remove the action by calling: remove_action('wp_head', '_admin_bar_bump_cb'); I placed it in my enqueue scripts function hook and it successfully removed the top margin output, but I'm sure you could place it anywhere in the functions.php and have ...



Top 50 recent answers are included