I am looking for a way not to show the site logo in my homepage (but on all other pages). I can manage to do this only in the...
I am using add_theme_support('custom-logo', array( // The logo will be displayed with the following sizes: 'width' => 200, 'height' => 200, )); to display a logo image in my...
Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or...
I’m adding schema.org markups to my theme’s header, but the theme I’m using is calling the_custom_logo();, and by default it uses ‘logo’ as itemprop. Is there anyway to change...
I am switching my Genesis theme over to use WordPress’ 4.5 custom-logo function. It was simple to do: add_theme_support( 'custom-logo', array( 'width' => 861, 'height' => 130, 'flex-width' =>...
I’m trying to understand what flex-width/flex-height parameter in custom-logo support does. Here, https://developer.wordpress.org/themes/functionality/custom-logo/ it is said that it defines Whether to allow for a flexible height. But what exactly...
WordPress 3.8 is out I have the following code to remove admin bar logo. function no_wp_logo_admin_bar_remove() { global $wp_admin_bar; $wp_admin_bar->remove_menu('wp-logo'); } add_action('wp_before_admin_bar_render', 'no_wp_logo_admin_bar_remove', 0); However I would like to...
I’m currently working on a theme that enables the user to upload a logo via the customize theme page. I want the user to be able to upload an...
I’m trying to change the logo url of the site to “mywebsite.com/side2”, but it is not working, can anyone tell me where is the error in the code below?...
I want to make a logo manager in the Customizer, but how do I set different image sizes with the WP_Customize_Cropped_Image_Control class? Example from Make WordPress Core: $wp_customize->add_control( new...