creating replacement caption shortcode filter for single pages