• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Rename Genesis Customizer Section – Header Image

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Rename Genesis Customizer Section – Header Image

This topic is: resolved

Tagged: customizer, customizer section, header image, rename, rename customizer section

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 9 months ago by april.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 12, 2016 at 9:06 am #185453
    april
    Participant

    Hi,

    I would like to rename "Header Image" in the customizer section to "Header Logo". I've found several codes on the internet but they won't work. I've tried adding:

    'title' => __( 'Header Logo' ),

    So the new code would look like this:

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'title'		  => __( 'Header Logo' ),
    	'header_image'    => '',
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    	'height'          => 110,
    	'width'           => 320,
    ) );

    But it doesn't work 🙁

    Does anyone know how? I would greatly appreciate any help. Thanks.

    May 12, 2016 at 10:17 am #185461
    Victor Font
    Moderator

    I tested this code on my local setup with the Digital Pro theme. This is how you change the title:

    function my_custom_header_title( $wp_customize ) {
        $wp_customize->get_section( 'header_image' )->title = __( 'Header Logo', 'digital' );
    }
    add_action( 'customize_register', 'my_custom_header_title');

    Change 'digital' to your theme's slug.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 12, 2016 at 11:00 am #185472
    april
    Participant

    You are awesome! It worked. Thank you so much!!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Rename Genesis Customizer Section – Header Image’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble