Comment on Technical Support by SEO Dave.

WordPress Technical Support With any of the Stallion Responsive templates no need to edit them to remove comments, just edit the post/page and disable comments and nothing related to comments loads.

For the Sales Page template that would leave the footer area which would need editing. this would still use Stallion Responsive CSS styling which wouldn’t be completely blank.

If you want to have 100% control over everything you need a pretty much blank template file.

This code below will work with any WordPress theme:

Create a new file called page-blank.php either in the child theme folder or the parent theme folder.

Add this code:

<?php
/*
Template Name: Blank Template
*/
?>
<?php remove_filter('the_content', 'wpautop'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>

This is as blank as it gets, you will have to add all HTML code and CSS styling and paste it into the post edit page, nothing from the theme will be used on that page output all you see is the content (no header or footer unless you add an HTML header and footer).

This will post the content including code exactly how you add it except for where content is meant to be reformatted by WordPress or a plugin. If you add a YouTube URL for example it will be converted to a YouTube embeded video.

I’ve added the wpautop filter on the content, this will stop paragraph tags from being automatically added. If some code is converted by WordPress, a YouTube video URL, a smiley face :-) (WordPress has a lot of built in filters) you would need to figure out what is being changed and search for the relevant WordPress filter (like the wpautop filter, the smiley version is convert_smilies in the place of wpautop).

Note: If you use this the post/page using the template won’t have any of the Stallion Responsive SEO features shown on the actual webpage. All the Stallion Responsive keyphrases and other features that work on other parts of the site will still work, but they won’t show on that post/page. So if I used it for this post the links to this post would still use anchor text like “Online Technical Support” and “Technical Support” since those are some of the keyphrases set for this post.

You should also set a WordPress excerpt (on the edit post screen) if this is a post that’s categorized, otherwise WordPress will automatically create an HTML free version of the content as an excerpt on archive parts of the site and it won’t be ideal.

David