Jump to content
Sign in to follow this  
culturetide

Ouch! Broken code - please help

Recommended Posts

culturetide

Hello, I had a one page site in which I embedded a video webstream. I tried to replace the video stream with an on demand flash video. When this didn't work, I attempted to go back to the previous code, but it broke completely. What am I missing? How can i get functionality back? I get the following error message: /wp-content/themes/whitehouse/page.php on line 20 The existing code follows <?php get_header(); ?> <?php if($post->post_parent || wp_list_pages("title_li=&child_of=".$post->ID."&echo=0")):?> <div id="subhead" class="fix"> <?php include (TEMPLATEPATH . '/_subnav.php'); ?> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <div id="content" class=" fix"> <div id="maincontent" class="fix"> <td width="479" align="center"><embed src="http://www.ampmedia.org/asx/public24.asx" width="640" height="480"></embed></td> <?php include (TEMPLATEPATH . '/_pagecontent.php'); ?> </div> <?php get_sidebar();?> </div> <?php get_footer(); ?>

Share this post


Link to post
Share on other sites
bryan-hadaway

If it's not too much work, the best route is going to be to upload the original page.php and overwrite the one you've edited and then remake your edits. Thanks, Bryan

Share this post


Link to post
Share on other sites
culturetide

Thanks - I've already begun that process. Cheer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×