wordpress add extra field value display front end

0
267

global $wp_query;
$postid = $wp_query->post->ID;
$key=’wp_text’;
$result = get_post_meta($postid, $key, true);
echo $result;

other code category image display  wp-include/category-template.php function start_el()   add this code

$image_text = z_taxonomy_image_url( $category->term_id, TRUE )