Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Maps not appearing in page using custom template

No Tags
UserPost

10:35 pm
April 21, 2010


theiyengar@gmail.com

New Member

posts 1

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 &raquo;</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———————–

No Tags

About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship