• Hi,

    I have installed the plugin and set up a field on the category page with the meta_key ‘tekstfelt’.

    To output the content I use this code in category.php

    <?php 
    if (function_exists('wp_get_terms_meta'))
    { 
      $MetaValue = wp_get_terms_meta(101, tekstfelt ,true); 
    } 
    
    //meta value for meta key $meta_key
    echo $MetaValue; 
    
    ?>

    My problem is that the content from the new field is displayed on all the category pages and not just the single category-group I have added content in.

    Is there a way to only output the content on the category-page it’s written from?

    Basically I only want another textarea on the category page which works exactly the same as the basic textarea which are already there.

    The page I need help with: [log in to see the link]

  • The topic ‘Output only the custom field on the specific category page’ is closed to new replies.