Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Website Design
Register Blogs Social Groups CalendarHelp Desk

Reply
LinkBack Thread Tools
Unread 19th December 2012, 01:20 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2011
Posts: 175
Thanks: 27
Thanked 11 Times in 5 Posts
Default How to create a blank white page for WordPress?

Hi, I would like to add a completely blank, white page for a WP site. All I want to do is put an image in the center with white space around it, but when I press preview, it still contains the header, footer, widgets, etc.

Do you know how to do this?
Keep Trying is offline   Reply With Quote
Unread 19th December 2012, 01:27 PM   #2
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: 2008
Location: Waterdown, Ontario, Canada
Posts: 8,223
Blog Entries: 2
Thanks: 2,154
Thanked 3,814 Times in 2,319 Posts
Default Re: How to create a blank white page for WordPress?

You need a post or Page template (depending what you are trying to create) that is exactly "completely blank"...


Istvan Horvath is offline   Reply With Quote
Unread 19th December 2012, 01:37 PM   #3
Wordpress Developer
 
Patrick's Avatar
 
Join Date: 2011
Location: Bangkok, Thailand
Posts: 1,109
Thanks: 57
Thanked 195 Times in 173 Posts
Default Re: How to create a blank white page for WordPress?

You can do it by creating a page template...add body class to the header body tag, and then hide elements you don't need for that page..

Patrick is offline   Reply With Quote
Unread 19th December 2012, 01:37 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: 2011
Posts: 175
Thanks: 27
Thanked 11 Times in 5 Posts
Default Re: How to create a blank white page for WordPress?

Hi Istvan, thanks for your response. I know how to create a new page by just leaving the page blank and pressing publish, but it still the header, the footer, widgets, etc. I just want a blank white page. How can I create this type of post or template?
Keep Trying is offline   Reply With Quote
Unread 19th December 2012, 01:44 PM   #5
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: 2008
Location: Waterdown, Ontario, Canada
Posts: 8,223
Blog Entries: 2
Thanks: 2,154
Thanked 3,814 Times in 2,319 Posts
Default Re: How to create a blank white page for WordPress?

Well, don't talk about posts or Pages and templates as if they were equivalent!

Posts and Pages are "entries" stored in the database.

Templates are physical files in your theme folder.


Pages WordPress Codex


Istvan Horvath is offline   Reply With Quote
Unread 19th December 2012, 04:13 PM   #6
HyperActive Warrior
Registered Member
 
ccole's Avatar
 
Join Date: 2012
Location: Los Angeles, CA
Posts: 143
Thanks: 3
Thanked 16 Times in 16 Posts
Default Re: How to create a blank white page for WordPress?

You need to create a custom page template that has a header, a menu, a widget and all.

check out the page that Istvan Horvath shared:

Quote:
Originally Posted by Istvan Horvath View Post
or you can also check this: Tutorial9 Custom WordPress Homepage with Customizable Widgets

Struggling or behind on your mortgage? Looking for loan modification solutions to reduce your payment? REST Report shows you if you qualify!
ccole is offline   Reply With Quote
Unread 19th December 2012, 04:33 PM   #7
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: 2008
Location: Waterdown, Ontario, Canada
Posts: 8,223
Blog Entries: 2
Thanks: 2,154
Thanked 3,814 Times in 2,319 Posts
Default Re: How to create a blank white page for WordPress?

Put the code below in an empty file and save it as "empty-page.php"

Code:
<?php
/*
Template Name: The Empty Stuff
*/
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  
  <title>Title goes here</title>
  </head>
  <body class="empty">
  <div class="boo">
     <?php the_content(); ?>
  </div><!--end boo-->   
  </body>
</html>

Make sure you define in your stylesheet (style.css) the "empty" & "boo" classes. E.g. center the div, give it top margin etc...

Then make a new Page in WP > select as Page template this one.
You can give it a title for yourself (but it won't display it) publicly.
Whatever you will put into the text/content area (image, text etc.) will be shown on the 'front-end' of you Page.

P.S. If you don't understand what the post above means... you should not attempt to do it


Istvan Horvath is offline   Reply With Quote
Unread 19th December 2012, 05:52 PM   #8
HyperActive Warrior
War Room Member
 
Join Date: 2011
Posts: 175
Thanks: 27
Thanked 11 Times in 5 Posts
Default Re: How to create a blank white page for WordPress?

Schwarzes helped me solve this problem. Thanks everyone though for your contribution!
Keep Trying is offline   Reply With Quote
Reply

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Website Design

Bookmarks

Tags
blank, create, page, white, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:29 PM.