Skip to content

Instantly share code, notes, and snippets.

@websupporter
Created January 20, 2017 14:57
Show Gist options
  • Save websupporter/478c77bbd1a653d46fb435efa53ceace to your computer and use it in GitHub Desktop.
Save websupporter/478c77bbd1a653d46fb435efa53ceace 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(
'widgets' => array(
'sidebar-1' => array(
'text_business_info',
'search',
),
),
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment