I’m nearly there.
The code results in the custom field being surrounded by
<div class=”wp_theatre_prod_colours”>’
So I need to strip out the html.
I’ve found I can strip out the html by commenting out a couple of lines in wpt_productions.php around line 579
if ($args['html']) {
$html = '';
//$html.= '<div class="'.self::post_type_name.'_'.$field.'">';
$html.= $this->apply_template_filters($this->{$field}, $args['filters']);
//$html.= '</div>';
However, I don’t really want to edit the plugin files.
Is there a better was of doing this?
Otherwise the plugin is doing everything I want it to.