Viewing 2 replies - 1 through 2 (of 2 total)
  • I just fixed it myself, here is the trick.

    Open custom-field-template.php and update line 3285 for:

    $replace_val .= $before_value . $value . $after_value . "\n";

    Here is the complete (and fixed) code:

    if ( $val['singleList'] == true ) :
    	if ( $before_list ) : $replace_val = $before_list . "\n"; endif;
    	$replace_val .= $before_value . $value . $after_value . "\n";
    	if ( $after_list ) : $replace_val .= $after_list . "\n"; endif;
    endif;

    I will try to contact the author of the actual plugin.

    – Pascal

    Thread Starter Nick Forest

    (@nickshor)

    I can’t test it, I’m not managing that project anymore, but thank you anyway 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Custom Field Template] singleList = true – no data output!’ is closed to new replies.