Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    If you pass an additional parameter to the shortcode, it will be available in $atts. So before you display your custom field, check for something like:

    if( isset( $atts['custom_field_name'] ) && "true" == $atts['custom_field_name'] )
    	echo $my_custom_field;
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Display Posts Shortcode] Custom fields clarification’ is closed to new replies.