With the example below you can add a new tab in the theme options pannel, if you want to inspire from the rest of the tabs you can check this file : /htdocs/sweetdate/wp-content/themes/sweetdate/framework/theme_options.php

COPY CODE

add_filter('squeen-opts-sections-sweetdate', 'sq_customise_theme_options');
function sq_customise_theme_options( $sections ) {

	$sections[] = array(
		'icon' => 'adjust',
		'icon_class' => 'icon-large',
		'title' => __('My new section', 'kleo_framework'),
		'desc' => '<p class="description">Customize theme appearance</p>',
		'fields' => array(

			//header
			array(
				'id' => 'info_header',
				'type' => 'info',
				'desc' => 'Description for the field'
			),
		)
	);
	return $sections;
}

This code will be adde to your child theme functions.php wp-content/themes/sweetdate-child/functions.php

Log in with your credentials

Forgot your details?