Add Logo in Theme Customize Option in WordPress

Hello reader’s today we discuss about “Add logo in theme customize option” in wordpress. Open your function.php and paste the below code :-

/**
* Add logo in theme customize option
*/
add_action( 'customize_register', 'themename_customize_register' );
function themename_customize_register($wp_customize) {
$wp_customize->add_section( 'ignite_custom_logo', array(
'title' => 'Logo',
'description' => 'Display a custom logo?',
'priority' => 25,
) );
$wp_customize->add_setting( 'custom_logo', array(
'default' =>; '',
) );

– See full Blog at: Add Logo in Theme Customize Option in WordPress

FindNerd is the right place to resolve PHP language problems. Here you can post PHP Questions and Answers.

If you have any query on PHP language, Post it at FindNerd’sPHP Developer Forum.

Advertisements
Add Logo in Theme Customize Option in WordPress

2 thoughts on “Add Logo in Theme Customize Option in WordPress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s