Hi,
I am using a custom template I created for the Modularity lite theme. The only change in my template vs the default template is that I removed the header, footer, sidebar and made the page have a plain white background.
When I try to embed a Google Map using the plugin on a new page which uses my template, I get a blank white screen. If I switch over to the default template for that page, the map appears fine. I am pasting my template file (which I called white.php) to see if someone can help me figure out what's wrong..
Appreciate any help I can get! Thanks!
—–Start of White.php——-
<?php
/*
Template Name: White
*/
?>
<div class="== if($sidebar_state get_option('T_sidebar_state');
= $sidebar_state span-<?php
"On") {
echo "15 colborder home";
}
else {
echo "24 last";
}
?>">
<div class="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<?php include (THEMELIB . '/apps/multimedia.php'); ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
</div>
<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
//get_sidebar() ; Changed April 17
}
else {
echo "";
}
?>
<?php comments_template(); ?>
<!– Begin Footer –>
<?php //get_footer(); Changed April 17?>
———End of white.php———————–