Site icon Hip-Hop Website Design and Development

WordPress class customized title

Hello guys i’m caught a bit, forgive my ignorance:) I’ve this:

add_action ( 'category_edit_form_fields', perform( $tag ){
        $cat_title = get_term_meta( $tag->term_id, '_pagetitle', true ); ?>
        <tr class='form-field'>
            <th scope='row'><label for='cat_page_title'><?php _e('Class Web page Title'); ?></label></th>
            <td>
                <enter sort='textual content' title='cat_title' id='cat_title' worth='<?php echo $cat_title ?>'>
                <p class='description'><?php _e('Title for the Class '); ?></p>
            </td>
        </tr> <?php
    });
    add_action ( 'edited_category', perform( $term_id ) {
        if ( isset( $_POST['cat_title'] ) )
            update_term_meta( $term_id , '_pagetitle', $_POST['cat_title'] );
    });

So creating customized subject on edit class admin web page.
Now i’m making an attempt to name this tradition title right here like this:
echo '<div class="category-title">' . $cat_data['cat_title'] . '</div>

Would not work for me. Please assist?

Thanks rather a lot!