- Timestamp:
- 10/28/2016 02:56:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r38867 r38991 103 103 */ 104 104 add_editor_style( array( 'assets/css/editor-style.css', twentyseventeen_fonts_url() ) ); 105 106 add_theme_support( 'starter-content', array( 107 'widgets' => array( 108 'sidebar-1' => array( 109 'text_business_info', 110 'search', 111 'text_credits', 112 ), 113 114 'sidebar-2' => array( 115 'text_business_info', 116 ), 117 118 'sidebar-3' => array( 119 'text_credits', 120 ), 121 ), 122 123 'posts' => array( 124 'home', 125 'about-us', 126 'contact-us', 127 'blog', 128 'homepage-section', 129 ), 130 131 'options' => array( 132 'show_on_front' => 'page', 133 'page_on_front' => '{{home}}', 134 'page_for_posts' => '{{blog}}', 135 ), 136 137 'theme_mods' => array( 138 'panel_1' => '{{homepage-section}}', 139 'panel_2' => '{{about-us}}', 140 'panel_3' => '{{blog}}', 141 'panel_4' => '{{contact-us}}', 142 ), 143 144 'nav_menus' => array( 145 'top' => array( 146 'name' => __( 'Top' ), 147 'items' => array( 148 'page_home', 149 'page_about', 150 'page_blog', 151 'page_contact', 152 ), 153 ), 154 'social' => array( 155 'name' => __( 'Social' ), 156 'items' => array( 157 'link_yelp', 158 'link_facebook', 159 'link_twitter', 160 'link_instagram', 161 'link_email', 162 ), 163 ), 164 ), 165 ) ); 105 166 } 106 167 add_action( 'after_setup_theme', 'twentyseventeen_setup' );
Note: See TracChangeset
for help on using the changeset viewer.