Support » Plugin: Category and Taxonomy Meta Fields » Display Meta Fields not work

  • I am using th plugin to create some necessary fields in the product categories.
    When trying to display this information in php, it does not appear.

    $cate = get_queried_object();
    $cateID = $cate->term_id;
    if (function_exists('get_all_wp_terms_meta'))
    { 
       print_r( get_all_wp_terms_meta($cateID) );
    }

    in page archive-product.php, return Array ( ), the variable $cateID correctly returns the category ID.

  • The topic ‘Display Meta Fields not work’ is closed to new replies.