Having trouble creating a WordPress Template. Please help!
I'm stuck with a technical issue and I'm hoping you can help me.
I figured out how to create a PHP template page and apply it to a page. (Yay!)
I'm trying to create a new squeeze page similar to my home page (http://www/IAHWP.org), but without the video.
This is what it currently looks like:
International Association of Health and Wellness Professionals » Teleclass
I have two main problems with it:
1. The nav bar needs to be blanked out, exactly like on the home page.
This is a squeeze page for this call and I don't want to give my visitors any other option other than to sign up (or leave the page). So I want the nav bar blanked out.
I copied and pasted the homepage template and only changed what was necessary to create the new template. But the nav bar didn't blank out like it should have!
(My designer DID create a full-width template for me with the nav bar blanked out because I knew I'd want to create squeeze pages and not give my visitors any other option other than to sign up. In this case though, I want to have it laid out in two columns to bring the opt-in box up above the fold. So I'm using the homepage template.)
I did two things to test it:
a. I applied the home page template to this page and it looks fine: exactly like the homepage and the nav bar is blanked out.
b. I copied/pasted the homepage template into a new PHP document and uploaded it to my site (WITHOUT changing ANYTHING!) and applied the new template. When I do this, the home page appears exactly as it does on the home page, but the nav bar is still not blanked out!
Which tells me it's probably not the PHP file. Maybe something in the CSS file??? Do you have any idea?
I'm at a complete loss as to how to solve this and have no idea where else to look.
2. The second issue is the spacing between the two columns.
On the home page, it looks fine. But when I replace the video with text, it looks a little crowded. There needs to be more space between the two columns. Do you know how/where to do this?
Alternatively, I could take my full-width page template (which DOES blank out the nav bar) and modify it to display the content in two columns. But I'm not really familiar with PHP and when I look at the file, I can't tell WHERE exactly is the part that tells it to display the page with the nav bar blanked out.
I wouldn't know where to put the code in the full-width page template.
If you know PHP at all, here's the PHP code from my full-width page template:
<?php
/*
Template Name: Full Width Page
*/
?>
<?php get_header(); ?>
<div id="content" class="page col-full">
<!-- <div id="tagline" class="col-full">
<h3 class="title">XYZ title here</h3>
</div> -->
<div id="main" class="fullwidth">
<?php if ( function_exists(yoast_breadcrumb) ) { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
<?php if (have_posts()) : $count = 0; ?>
<?php while (have_posts()) : the_post(); $count++; ?>
<div class="section">
<div class="post">
<div class="entry">
<?php the_content(); ?>
</div><!-- /.entry -->
<?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
</div><!-- /.post -->
</div>
<?php $comm = get_option('woo_comments'); if ( ($comm == "page" || $comm == "both") ) : ?>
<?php comments_template(); ?>
<?php endif; ?>
<?php endwhile; else: ?>
<div class="section">
<div class="post">
<p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
</div><!-- /.post -->
</div><!-- /.section -->
<?php endif; ?>
</div><!-- /#main -->
</div><!-- /#content -->
<?php get_footer(); ?>
I've been working on this for the last few hours and can't seem to figure it out. And I've played with it quite a bit.
I'd greatly appreciate any help!
Thanks,
Michelle
Product Support @ WPTB...
Discover: The hot new plugin your competitors are killing it with...
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."