Skip to content

Instantly share code, notes, and snippets.

@sxidsvit
Created November 30, 2015 14:16
Show Gist options
  • Save sxidsvit/db1e79f8466cb1fe7ae5 to your computer and use it in GitHub Desktop.
Save sxidsvit/db1e79f8466cb1fe7ae5 to your computer and use it in GitHub Desktop.
WordPress functions.php Must Have
show_admin_bar(false);
add_theme_support('post-thumbnails');
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'rsd_link' );
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'wp_generator');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment