Hello reader's today we discuss about "Add logo in
theme customize option" in wordpress. Open your function.php and paste
the below code :-
FindNerd is the right place to resolve PHP language problems. Here you can post PHP Questions and Answers.
/** * 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's - PHP Developer Forum.
Hello reader's today we discuss about "Add logo in theme customize option" in wordpress.
Open your function.php and paste the below code :-
- See more at: http://findnerd.com/list/view/Add-logo-in-theme-customize-option-in-wordpress/3364/#sthash.QJ5eQfOw.dpuf
- /**
- * 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' =>; '',
- ) );
No comments:
Post a Comment