1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| #remove_action('wp_head', 'wp_enqueue_scripts', 1); #add_action('wp_footer', 'wp_enqueue_scripts', 5); function ft_rtt_remove_title_attribute( $output ){ $output = preg_replace('/title=\"(.*?)\"/','',$output); return $output; } add_filter('wp_list_categories','ft_rtt_remove_title_attribute'); add_filter('wp_list_pages','ft_rtt_remove_title_attribute'); add_filter('the_category', 'ft_rtt_remove_title_attribute' ); add_filter('comment_ID', 'ft_rtt_remove_title_attribute' );
function wpbeginner_remove_version() { return ''; } add_filter('the_generator', 'wpbeginner_remove_version'); add_filter('show_admin_bar', '__return_false'); 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', 10, 0 ); remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); remove_action( 'wp_head', 'rel_canonical' ); remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); remove_action( 'wp_head', 'noindex', 1 ); remove_filter('comment_text', 'make_clickable', 9); #Remove Wordpress Comment Feed Link from header #Display the links to the extra feeds such as category feeds remove_action('wp_head', 'feed_links_extra', 3); #Display the links to the general feeds: Post and Comment Feed remove_action('wp_head', 'feed_links', 2);
$qmr_work_tags = array( 'the_title', 'the_content', 'the_excerpt', 'comment_text', 'list_cats', 'single_post_title', 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'widget_title', 'term_description', 'category_description', 'widget_text' );
foreach ( $qmr_work_tags as $qmr_work_tag ) { remove_filter ($qmr_work_tag, 'wptexturize'); }
|
Comments