Blank page
-
I simply want to make a completely blank page without headers, menu, anything. I want to be able to change the background color of that page to blue. Can I make a blank page by uploading a blank-page.php with the following code:
<?php
/**
* Template Name: Blank Page
*
* A blank custom page template.
*
* The “Template Name:” bit above allows this to be selectable
* from a dropdown menu on the edit page screen.
*
*/
?><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>If yes, where can I upload this code? Will there still be white edges?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Blank page’ is closed to new replies.