Viewing 1 replies (of 1 total)
  • Follow this step :

    <?php

    $cat_name = get_query_var(‘cat’);
    $cat_ID = get_cat_ID( $cat_name );
    $url = categoryCustomFields_GetCategoryCustomField($cat_ID, ‘Banner Image’);

    /* The “$cat_ID” is a cat id and “Banner Image” is a field name */

    $url = explode(‘@’,$url[0]->field_value);
    echo $url = $url[0];

    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Can't call fields’ is closed to new replies.