Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to replace/modify the "Widgets" label in the backend by an other label ? ... and do the same thing for the "Widgets" title in the widget page.

Is there a filter or another solution ?

share|improve this question
    
You could try "translating" it. –  Miha Rekar Oct 12 '12 at 10:58
    
Yes it's a solution ... but I would rather avoid it if possible. –  Gilles Vauvarin Oct 12 '12 at 11:21
    
There are many mentions of "widgets" in admin, please enumerate instances that you are looking to change. –  Rarst Oct 12 '12 at 11:23
    
@GillesVauvarin why? –  Miha Rekar Oct 12 '12 at 11:29
2  
Hey, hold on, are you gonna ask the same Question over again and not accept any of the previous answers gaven to you??? - Just deleting my answer to this one... –  brasofilo Oct 12 '12 at 11:56

1 Answer 1

Finally, I used this solution to change the "Widgets" label in the sub-menu (Appearence > ...):

add_action( 'admin_menu', 'adjust_the_wp_menu', 999 );
function adjust_the_wp_menu() {
  $page = remove_submenu_page( 'themes.php', 'widgets.php' );
}

add_action('admin_menu', 'register_custom_menu_page');
function register_custom_menu_page() {
  add_submenu_page('themes.php', 'custom menu title', 'custom menu', 'add_users', 'widgets.php');
}`
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.