Support » Plugin: Edit Flow » [Plugin: Edit Flow] Rename 'Calendar' to 'Editorial Calendar' under Dashboard

  • Resolved Jaydubs210

    (@jaydubs210)


    I would like to suggest changing the name ‘Calendar’ to ‘Editorial Calendar’ under the dashboard menu. This will help clarify what calendar the admin is looking at versus other calendar plugins that are for events for example.

    Modify line 138 in calendar.php to:
    add_submenu_page('index.php', __('Editorial Calendar', 'edit-flow'), __('Editorial Calendar', 'edit-flow'), apply_filters( 'ef_view_calendar_cap', 'ef_view_calendar' ), $this->module->slug, array( &$this, 'view_calendar' ) );
    `

    http://wordpress.org/extend/plugins/edit-flow/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    We’ve named it “Calendar” to keep from naming everything “Editorial X”, but you should be able to change it in your install with a bit of code:

    add_action( 'admin_menu', 'efx_rename_calendar', 100 );
    function efx_rename_calendar() {
    	global $edit_flow;
    	remove_submenu_page( 'index.php', 'calendar' );
    	add_submenu_page( 'index.php', __('Editorial Calendar', 'edit-flow'), __('Editorial Calendar', 'edit-flow'), apply_filters( 'ef_view_calendar_cap', 'ef_view_calendar' ), 'calendar', array( $edit_flow->calendar, 'view_calendar' ) );
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Edit Flow] Rename 'Calendar' to 'Editorial Calendar' under Dashboard’ is closed to new replies.