Dear Ned,
There was an error in my code, I dont know how I didn't see it. Here is the working version:
add_shortcode( 'wpv-post-param', 'wpv_post_param_shortcode' ); function wpv_post_param_shortcode( $atts ) { if ( !empty( $atts['var'] ) ) { $var = (array)$_GET[$atts['var']]; return esc_html( implode( ', ', $var ) ); } }
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Regards,
Caridad