Renaming a theme’s panel’s title in customisation settings
-
Hi all,
Im creating a child theme for a parent theme. There are some theme customisation settings which the parent theme is generating (so that you can change background colour etc).
The parent theme is creating the panel with
$wp_customize->add_panel('sparkling_main_options', array( 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => __('Sparkling Options', 'sparkling'), 'description' => __('Panel to update sparkling theme options', 'sparkling'), // Include html tags such as <p>. 'priority' => 10 // Mixed with top-level-section hierarchy. ));
How do I change the title of this panel within my child theme’s functions.php file? I want to change ‘Sparkling Options’ to ‘Advanced Options’.
Thanks
- The topic ‘Renaming a theme’s panel’s title in customisation settings’ is closed to new replies.