Changeset 7507 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
- Timestamp:
- 07/27/2018 04:08:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
r7505 r7507 18 18 } 19 19 20 add_theme_support( 'align-wide' );21 20 show_admin_bar( true ); 22 21 … … 160 159 ) ); 161 160 162 add_theme_support( 'gutenberg', array( 163 'wide-images' => true, 164 'colors' => array( 165 '#0073aa', 166 '#229fd8', 167 '#eee', 168 '#444', 169 ), 170 ) ); 161 add_theme_support( 'align-wide' ); 162 163 add_theme_support( 'editor-color-palette', [ 164 [ 165 'name' => esc_html__( 'Dark Blue', 'gutenbergtheme' ), 166 'slug' => 'dark-blue', 167 'color' => '#0073aa', 168 ], 169 [ 170 171 'name' => esc_html__( 'Light Blue', 'gutenbergtheme' ), 172 'slug' => 'light-blue', 173 'color' => '#229fd8', 174 ], 175 [ 176 177 'name' => esc_html__( 'Dark Gray', 'gutenbergtheme' ), 178 'slug' => 'dark-gray', 179 'color' => '#444', 180 ], 181 [ 182 183 'name' => esc_html__( 'Light Gray', 'gutenbergtheme' ), 184 'slug' => 'light-gray', 185 'color' => '#eee', 186 ], 187 ] ); 171 188 } 172 189 endif;
Note: See TracChangeset
for help on using the changeset viewer.