I have a very nice responsive design theme but they did not include landing page ability.
So basically I took one of the page templates that came with the theme copy and renamed it.
I need you to help me modify the new template code not show top navbar so when I make landing pages I can easily pick this template from the editor.
If possible I would like to provide code instruction on how I can easily turn on or off the footer in case I want to with this new template.
I played around with this for a while today but realize while this is probably an easy quick gig for a true WP coder its over my head...lol
The theme I am using is located here http://topbusiness.pandathemes.com
And if you don't mind I would like to know what you changed or added so I can also learn a bit.
Thanks,
Zorro....
Below is the code for the new page:
<?php
/*
Template Name: Landing Page
*/
get_header();
if (have_posts()) : while (have_posts()) : the_post();
// GET CUSTOM SIDEBAR
$sidebar = get_post_meta($post->ID, 'sidebar_value', true);
?>
<div id="content">
<div class="contentbox <?php
if ($sidebar == 'No sidebar') :
echo'wfull';
elseif ($sidebar == 'Buddy Sidebar') :
echo'w720';
else :
echo'w620';
endif; ?>">
<?php
// CONTENT
the_content();
echo '<div class="clear h20"><!-- --></div>';
// PAGINATION
wp_link_pages(array('before' => '<p><strong>'.__( 'Pages','pandathemes' ).':</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
// COMMENTS ETC.
if ( $theme_options['pages_metas'] == 'enable' ) : comments_template(); endif;
endwhile;
else : echo '<div class="contentbox w620"><h2>404</h2><p>'.__('Sorry, no posts matched your criteria.','pandathemes').'</p>';
endif; ?>
</div> <!-- end_of_contentbox -->
<?php
// SIDEBAR
if ($sidebar == 'Buddy Sidebar') :
include(TEMPLATEPATH.'/inc/sidebar_buddy.php');
else :
include(TEMPLATEPATH.'/inc/sidebar.php');
endif;
get_footer();
?>