Parse error:syntax error – just about to give up!
-
I am extremely new at WP. I’m hosted through godaddy. I’m using a theme called Independence. I created a child theme with only a style.css. I set up a full width page in the Parent theme and pointed the Child to it using the @import. Here’s what I got on the site: “Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/content/84/9458384/html/wp-content/themes/Independence/fullwidth-page.php on line 19”
This is what my fullwidth-page looks like:
<?php /** Template Name: Full Width, no sidebar */ get_header(); ?> <div id="container" class="full-width"> <div id="content" role="main"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h1 class="entry-title"><?php the_title(); ?></h1> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'Independence' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'Independence' ), ',<span class="edit-link">', '</span>; ?> </div><!-- .entry-content --> </div><!-- #post-## --> <?php endwhile; ?> </div><!-- #content --> </div><!-- #container --> <?php get_footer(); ?>Please help – I’m at the end of my rope…
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Parse error:syntax error – just about to give up!’ is closed to new replies.