Remove the space after the shortcode name.
add_shortcode( 'bio_image ', 'bio_image_func' );
becomes
add_shortcode( 'bio_image', 'bio_image_func' );
I think WordPress is looking for a closing tag for bio_image[space]
, which doesn’t exist.
Remove the space after the shortcode name.
add_shortcode( 'bio_image ', 'bio_image_func' );
becomes
add_shortcode( 'bio_image', 'bio_image_func' );
I think WordPress is looking for a closing tag for bio_image[space]
, which doesn’t exist.