WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Category Meta plugin] Doesn't Call Anything From DB

[Plugin: Category Meta plugin] Doesn't Call Anything From DB

  • Hi, I really need this plugin to show and orginise category images. I tried this plugin on both WP 3.0 & WP 3.1. Everything goes fine in admin panel but when it comes to show meta on category page,

    if (function_exists('get_terms_meta'))
    {
        $metaValue = get_terms_meta($category_id, $meta_key);
    }

    code shows nothing. When i try to change this code like;

    global $wp_query;
    $cat = $wp_query->get_queried_object();
    $category_id = $cat->term_id;
    
    if (function_exists('get_terms_meta')) {
        $my_decription_value = get_terms_meta($category_id, 'my_description');
        echo $my_decription_value;
    }

    shows just “Array” text.

    So can anyone help me about this issue?

  • The topic ‘[Plugin: Category Meta plugin] Doesn't Call Anything From DB’ is closed to new replies.