Creating WordPress pages without header, footer, menu, and the sidebar is very easy. In this tutorial, we will guide you how to create a WordPress page without any of these extra items, Just HTML simple page.

for this purpose, we will use the page template and will use that template on the page on which we don’t want to show header and menu etc.

Create WordPress Page Template.

Open Notepad on your computer and copy paste following in it and save file name to “Blank Page.php”.

* Template Name: Blank Page
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />

<!– page title, displayed in your browser bar –>
<title><?php bloginfo(‘name’); ?> | <?php is_home() ? bloginfo(‘description’) : wp_title(”); ?></title><?php wp_head(); ?>

<body id=”top”>
<div class=’container_wrap’ id=’main’>
<div class=’container’>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>
<?php wp_footer(); ?>

Upload file to WordPress Theme Folder Using FTP Client:

Use any FTP Client or your control panel “File Manager” to upload above-created file “Blank Page.php” in your WordPress theme folder.

WordPress Theme Folder Location:

Themes folder is located in the “wp-content” folder on the root of your website.

once you opened themes folder, locate your theme folder and upload file.

for VPS usually path is /var/www/html/wp-content/themes/themename

Convert WordPress page to newly created Template

In the WordPress page editor, Page Attributes tab, choose Blank Page from the Template drop-down list like in below picture.

wordpress page withour header

Update page. and View page

one of Sample page is of PTCL Speed Test website.


That’s all, hope you like, please add if we missed anything or if you can improve anything.