If you removed the call to get_header
then none of the CSS for alignment will be present on the page so it won’t work. All themes should always have get_header
and get_footer
in the proper files. When you think you can justify not having it you won’t have to ask anyone if it’s okay because you’ll know enough about WordPress to know the answer.
The get_header and get_footer are present. This is what the page file looks like:
<?php
/*
Template Name: blank page2
*/
?>
<?php get_header(); ?>
<div id="wrapper" class="clearfix">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post() ?>
<?php $pagedesc = get_post_meta($post->ID, 'pagedesc', $single = true); ?>
<div id="post-<?php the_ID(); ?>" >
<div class="entry">
<?php the_content(); ?>
</div>
</div>
<!--/post-->
<?php endwhile; else : ?>
<div class="posts">
<div class="entry-head">
<h2><?php echo get_option('ptthemes_404error_name'); ?></h2>
</div>
<div class="entry-content">
<p><?php echo get_option('ptthemes_404solution_name'); ?></p>
</div>
</div>
<?php endif; ?>
</div>
<!-- content-in #end -->
</div>
<!-- container 16-->
</div>
<!-- wrapper #end -->
<?php get_footer(); ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code has now been permanently damaged/corrupted by the forum’s parser.]
If your trying to customize your theme you will need to contact your vendor for support. Commercial themes behind a paywall are not supported on these forums.