0

I'd like to know how does it work. I'm currently done on the questions part of the form and like to do a windows.open() function for the answers. Problem is, if I put the URL of the answer page (coming from the same site), it will still come with the header tags, footer, and the side links. I was hoping for a customized body-only page for that. Got any clue on how to?

1

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();

1
  • how can i call it to the post? say i have a submit button from the first page – Kyle Dec 13 '17 at 4:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.