Add in code error


Author Message
Error

Posted: 11/7/2012
Quote message 

Can anyone help me here please?

When I export as WP template - no problems.

When I export as WP Templateer then in the footer you can see code - here:
http://www.cannonbeachcomputers.com/testing/

Opening up the html source I see this around line 275:

<?php // sbLeftprepend prepend Sidebar Left

include get_template_directory()."/includes/tt_meta1.php";
if ( == 'Yes') {
global ,,; = ; = array('wide' => ,'left' => ,'right' => ) ;
tt_sidebar_mod_left(,, ,);
} else { ?>

What to do? Where do I change? Is that a code error? I'm lost.

Thank you..

 
richard

Posted: 11/7/2012
Quote message 

The source of the page (CTRL-U in FF) is riddled with php code. php should never show at the client side so there's something nasty going on with your theme.

Can't say what it is. The chars you see are just a few that are showing through. There's a lot more rubbish going on in there that's hidden.
 
Unglood

Posted: 11/7/2012
Quote message 

I found it...

In the Theme folder /library/defaults.php (where the footer lives) there was about 10 lines of php code, classes and divs both above and below the <p>footer</p> which shouldn't have been there.

I created a new Template in Artisteer, exported as WP Templateer, unzipped it and looked at the defaults.php file. There was no divs, classes or php between the EOL's of the footer.

I just removed the bogus lines from my site's theme and we're all good now!

When it exports again, I'll know!