Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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