İçeriğini text olarak ekrana yazdıran bu kodların nasıl kategorilerin açıklama alanında olduğu gibi shortcode için uygun hale getirebilirim? Sorun shostcodeları metin olarak göstermedi.

Kaynak: https://wpcrumbs.com/how-to-add-cust...to-categories/

Kullandığım Kodlar:
/* Custom Field for Categories */
function dm_category_fields($term) {
    if (current_filter() == 'category_edit_form_fields') {
        $short_description = get_term_meta($term->term_id, 'short_description', true);
        ?>
        <tr class="form-field">
            <th valign="top" scope="row"><label for="term_fields[short_description]"><?php _e('Sayfa Sonu Açıklaması'); ?></label></th>
            <td>
                <textarea class="large-text" cols="50" rows="10" id="term_fields[short_description]" name="term_fields[short_description]"><?php echo esc_textarea($short_description); ?></textarea><br/>
                <span class="description"><?php _e('Kategori içeriğinin sonuna birşeyler eklemek için.'); ?></span>
            </td>
        </tr>
    <?php } elseif (current_filter() == 'category_add_form_fields') {
        ?>
        <div class="form-field">
            <label for="term_fields[short_description]"><?php _e('Sayfa Sonu Açıklaması'); ?></label>
            <textarea cols="40" rows="10" id="term_fields[short_description]" name="term_fields[short_description]"></textarea>
            <p class="description"><?php _e('Kategori içeriğinin sonuna birşeyler eklemek için.'); ?></p>
        </div>
    <?php
    }
}
add_action('category_add_form_fields', 'dm_category_fields', 10, 2);
add_action('category_edit_form_fields', 'dm_category_fields', 10, 2);

function wcr_save_category_fields($term_id) {
    if (!isset($_POST['term_fields'])) {
        return;
    }
    foreach ($_POST['term_fields'] as $key => $value) {
        update_term_meta($term_id, $key, sanitize_text_field($value));
    }
}
add_action('edited_category', 'wcr_save_category_fields', 10, 2);
add_action('create_category', 'wcr_save_category_fields', 10, 2);
Çağırma kodu:
<?php echo get_term_meta(4, 'short_description', true); ?>