Customizer settings – functions

If you want customizer option not ACF options, then inside the after_theme_setup add these.

Setting a custom background colour:

		// Set up the WordPress core custom background feature.
		add_theme_support( 'custom-background', apply_filters( 'gomo_custom_background_args', array(
			'default-color' => 'ffffff',
			'default-image' => '',
		) ) );

Custom logo image (if not using ACF for this):

 * Add support for core custom logo.
 * @link
add_theme_support( 'custom-logo', array(
	'height'      => 250,
	'width'       => 250,
	'flex-width'  => true,
	'flex-height' => true,
) );

Search the site

Share this page:


Subscribe to get regular news and updates

  • This field is for validation purposes and should be left unchanged.