Solved

How do I create Blank WordPress theme that shows NOTHING

Posted on 2012-03-15
3
427 Views
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.
0
Comment
Question by:ZionTech1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 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:

<?php
/**
 * 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">

			<?php
			/* 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.
0
 

Author Comment

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

Author Comment

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

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 76
Why isn't my DIV and Form centering? 1 27
Sticking text to shapes in Raphael.js 6 40
sitemap.xml 3 27
Find out what you should include to make the best professional email signature for your organization.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

737 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