• Good afternoon,

    I am trying to change a metabox title within the Januas WordPress Theme from “more” to “contact”. I have sifted through all the files and change any references I could see but it did not work.

    Here is an example of the code:-

    // otherinfo
    
        $meta_boxes[] = array(
    
            'id' => 'januas_otherinfo',
    
            'title' => __('Other', 'januas'),
    
            'pages' => array('ja-event'),
    
            'context' => 'normal',
    
            'priority' => 'high',
    
            'show_names' => true,
    
            'fields' => array(
    
                array(
    
                    'name' => __('Visible', 'januas'),
    
                    'desc' => __('Select Yes to show the box in the event page, No to hide it.', 'januas'),
    
                    'id' => 'januas_otherinfo_visible',
    
                    'type' => 'select',
    
                    'options' => array(
    
                        array('name' => __('Yes', 'januas'), 'value' => 'y'),
    
                        array('name' => __('No', 'januas'), 'value' => 'n'),
    
                    )
    
                ),
    
                array(
    
                    'name' => __('Position', 'januas'),
    
                    'desc' => __('Select the preferred position for the box.', 'januas'),
    
                    'id' => 'januas_otherinfo_position',
    
                    'type' => 'select',
    
                    'options' => array(
    
                        array('name' => __('Main', 'januas'), 'value' => 'main'),
    
                        array('name' => __('Sidebar', 'januas'), 'value' => 'sidebar'),
    
                    )
    
                ),
    
                array(
    
                    'name' => __('Order', 'januas'),
    
                    'desc' => __('Insert the box order (ex: 1).', 'januas'),
    
                    'id' => 'januas_otherinfo_order',
    
                    'std' => 6,
    
                    'type' => 'text_small'
    
                ),
    
                array(
    
                    'name' => __('Show Title', 'januas'),
    
                    'desc' => __('Select Yes to show the box title, No to hide it.', 'januas'),
    
                    'id' => 'januas_otherinfo_showtitle',
    
                    'type' => 'select',
    
                    'options' => array(
    
                        array('name' => __('Yes', 'januas'), 'value' => 'y'),
    
                        array('name' => __('No', 'januas'), 'value' => 'n'),
    
                    )
    
                ),
    
                array(
    
                    'name' => __('Show in Top menu', 'januas'),
    
                    'desc' => __('Select Yes to show the menu item in the event page top menu, No to hide it.', 'januas'),
    
                    'id' => 'januas_otherinfo_showinmenu',
    
                    'type' => 'select',
    
                    'options' => array(
    
                        array('name' => __('Yes', 'januas'), 'value' => 'y'),
    
                        array('name' => __('No', 'januas'), 'value' => 'n'),
    
                    )
    
                ),
    
                array(
    
                    'name' => __('Content', 'januas'),
    
                    'desc' => __('Arbitrary text or HTML.', 'januas'),
    
                    'id' => 'januas_otherinfo_text',
    
                    'type' => 'wysiwyg'
    
                ),
    
                array(
    
                    'name' => '',
    
                    'desc' => '',
    
                    'id' => 'januas_otherinfo_backtotop',
    
                    'type' => 'backtotop'
    
                )
    
            )
    
        );

    I am obviously doing something wrong, could anyone point me in the right direction please?

  • The topic ‘Change Metabox title’ is closed to new replies.