Black Friday & Cyber Monday Sale | Get Upto 30% OFF on Annual and Lifetime plan. Use Coupon Code GTBFCM22 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

Reply To: Hotel Center Pro

#38572
Melanie Kramen
Participant

I already tried to create a own template but i always get some error messages.

<?php
/**
* Template Name: Template without Header / Footer / Sidebar
* Template will display only the contents you had entered in the page editor
*/
?>

<html <?php language_attributes(); ?> class=”no-js”>
<head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>
    <?php wp_head(); ?>
</head>
<body>
<?php
    while ( have_posts() ) : the_post();
        the_content();
    endwhile;
?>
<?php wp_footer(); ?>
</body>
</html>