Wordpess: How to display the WCK Plugin’s Custom fields in the page or post?

$meta =  get_post_meta(get_the_ID(), 'name_of_meta', true);  // name_of_meta is the name of meta box linked the the current post ID.
$meta = $meta[0];

// Now in $meta variable we have all fields available in this meta box which we added in the WCK custom fields section.

// We can access fields as shown below:

echo $meta['field1'];


Leave a Reply

Your email address will not be published. Required fields are marked *