Skip to content

Instantly share code, notes, and snippets.

@websupporter
Last active January 20, 2017 15:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save websupporter/f843c696959f344231fe67334799b7e4 to your computer and use it in GitHub Desktop.
<?php
add_action( 'after_setup_theme', 'theme_start_content' );
function theme_starter_content() {
add_theme_support( 'starter-content', array(
'posts' => array(
'home',
'about',
'contact',
'blog',
'news',
'homepage-section',
),
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment