If your answer is a custom post type,
then copy single.php theme file, rename it as single-answer.php
In that file, remove these function call:
get_header();
get_sidebar();
get_footer();
If your answer is a custom post type,
then copy single.php theme file, rename it as single-answer.php
In that file, remove these function call:
get_header();
get_sidebar();
get_footer();