[Plugin: Category Meta plugin] Using this in as a custom field.
-
I am using a custom field plugin to assist in posts php sidebars. I would like to do a similar thing in categories and I’m wondering how this plugin may adatp for that.
With the custom field plugin I do have this in my functions.php file
function get_custom_field_value($szKey, $bPrint = false) { global $post; $szValue = get_post_meta($post->ID, $szKey, true); if ( $bPrint == false ) return $szValue; else echo $szValue; }
Then use this to get the key value
$_REQUEST['my_search'] = get_custom_field_value('my-key', false);
Can I get this plugin’s category custom value in a similar way?
- The topic ‘[Plugin: Category Meta plugin] Using this in as a custom field.’ is closed to new replies.