rmadur
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Fixing WordPress
In reply to: wp_head(); Question!!In version 2.9.2
// Actions add_action('wp_head','wp_enqueue_scripts',1); add_action('wp_head','feed_links_extra',3); add_action('wp_head','rsd_link'); add_action('wp_head','wlwmanifest_link'); add_action('wp_head','index_rel_link'); add_action('wp_head','parent_post_rel_link',10, 0 ); add_action('wp_head','start_post_rel_link',10, 0 ); add_action('wp_head','adjacent_posts_rel_link', 10, 0 ); add_action('wp_head','locale_stylesheet'); add_action('wp_head','noindex',1); add_action('wp_head','wp_print_styles',8); add_action('wp_head','wp_print_head_scripts',9); add_action('wp_head','wp_generator'); add_action('wp_head','rel_canonical');
And to exclude them (I left the real useful ones):
remove_action('wp_head','wp_enqueue_scripts'); remove_action('wp_head','feed_links_extra'); remove_action('wp_head','rsd_link'); remove_action('wp_head','wlwmanifest_link'); remove_action('wp_head','index_rel_link'); remove_action('wp_head','parent_post_rel_link'); //remove_action('wp_head','start_post_rel_link'); remove_action('wp_head','adjacent_posts_rel_link'); //remove_action('wp_head','locale_stylesheet'); remove_action('wp_head','noindex'); //remove_action('wp_head','wp_print_styles'); //remove_action('wp_head','wp_print_head_scripts'); remove_action('wp_head','wp_generator'); remove_action('wp_head','rel_canonical');
Viewing 1 replies (of 1 total)