Category Meta plugin
Using this in as a custom field. (1 post)

  1. jazzylee77
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Meta plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic