Use output buffer to properly return shortcode template.

Signed-off-by: Jeston Tigchon <jesstech@Owl.local>