How do I create Blank WordPress theme that shows NOTHING

Posted on 2012-03-15
Medium Priority
Last Modified: 2012-08-13
I want to create a WordPress theme or find a Theme that puts NOTHING on the page and allows me to insert my form and only show my form. Not Home button, not search bar, nothing except my inserted form. Is this possible? Thanks.
Question by:ZionTech1
  • 2
LVL 70

Accepted Solution

Jason C. Levine earned 2000 total points
ID: 37726115
Yes, you would need to do it with a custom page template within any theme.  Here's a sample that I made using TwentyTen as the base:

 * Template Name: One column, no sidebar no nav
 * A custom page template without sidebar.
 * The "Template Name:" bit above allows this to be selectable
 * from a dropdown menu on the edit page screen.
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0

//get_header(); ?>

		<div id="container" class="one-column">
			<div id="content" role="main">

			/* Run the loop to output the page.
			 * If you want to overload this in a child theme then include a file
			 * called loop-page.php and that will be used instead.
			 get_template_part( 'loop', 'page' );

			</div><!-- #content -->
		</div><!-- #container -->

<?php //get_footer(); ?>

Open in new window

All I did was comment out get_header() and get_footer() and remove any sidebars.  The result is a blank page that I can use within WordPress or I can add my own code to this template so it automatically displays.

Author Comment

ID: 37726214
Sorry I am new to WordPress. So which template of the twenty ten did you edit this code in?

Author Comment

ID: 37726552
Ok figured this out. Page Template. Worked perfect. Thanks.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Ecommerce has truly become one of the most prosperous ways of monetizing your brand on the Internet. However, when it comes to it, auditing is undoubtedly the lifeblood of this type of business.  This article will help you to conduct your ecommerce …
Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question