/*custom theme customize options
call get_theme_mod function for fetch the value.
For Example: for receiving a value of heading

function custom_theme_customize_options($wp_customize){

$wp_customize->add_section("custom_theme_customize_area", array(

"title"=> "Custom Theme Settings"


$wp_customize->add_setting("custom_theme_customize_setting", array(

"default"=> "Tested By Prashant Kansal"

$wp_customize->add_control("custom_theme_customize_control", array(

"label"=> "Enter Heading",
"section"=> "custom_theme_customize_area",
"settings"=> "custom_theme_customize_setting"



add_action('customize_register', 'custom_theme_customize_options');

About the Author

Anuj Sharma
Anuj Sharma is the Founder of AnujStudyPoint. He has been working in Software Development industry since 2015.

Leave a Reply

Your email address will not be published. Required fields are marked *