Public Ticket #1197283
How to change "Teachers" title


  •  2
    ninamusser started the conversation

    Hi! I'm wondering what is the best way to change the "Teachers" title to something else. I've changed the slugs on the Settings page, but I would prefer the page title to change as well.

    Thank you for your time,


  •  2,121
    Opal replied


    Our theme not support change title post type via Admin web.

    To change it, you need to go to plugin Opalteacher and find file

    opalteacher\inc\post-types\class-posttype-teacher.php and find code:

    $labels = array(
                'name'                  => __( 'Teachers', 'opalteacher' ),
                'singular_name'         => __( 'Teachers', 'opalteacher' ),
                'add_new'               => __( 'Add Teacher', 'opalteacher' ),
                'add_new_item'          => __( 'Add New Teacher', 'opalteacher' ),
                'edit_item'             => __( 'Edit Teacher', 'opalteacher' ),
                'new_item'              => __( 'New Teacher', 'opalteacher' ),
                'all_items'             => __( 'Teachers', 'opalteacher' ),
                'view_item'             => __( 'View Teacher', 'opalteacher' ),
                'search_items'          => __( 'Search Teacher', 'opalteacher' ),
                'not_found'             => __( 'No Teacher found', 'opalteacher' ),
                'not_found_in_trash'    => __( 'No Teacher found in Trash', 'opalteacher' ),
                'parent_item_colon'     => '',
                'menu_name'                  => __( 'Opal Teachers', 'opalteacher' ),

    and then, change text "Teachers" into "your-text"

    WpOpal Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours in weekdays. In some rare cases the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote :
    To vote go to http://themeforest.net/downloads then follow that link : Here

    Thanks and have a nice day

    Website: http://wpopal.com/ | Follow to Get Our Promotion Themes

  •  2
    ninamusser replied

    Thanks for your help!