HELP! (Parse error: syntax error, unexpected end of file in)
-
I was trying to get rid of “featured image” parts of the code on my content-page.php and NOW my pages are showing this ==== Parse error: syntax error, unexpected end of file in
PLEASE HELP SO I CAN GET MY BLOG BACK UP AND RUNNING! ??
Here is the entire coding for my content-page.php<?php
/**
* Displays posts
*
* Used for single, index, archive, and search pages.
*
* @since Bluesand 1.0
*/
?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php if ( !is_search() ) : ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class = “featured-img”>
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<?php endif; ?><?php if ( is_single() ) : ?>
<h1 class=”post-title”><?php the_title(); ?></h1><?php else: ?>
<h1 class=”post-title”>“><?php the_title(); ?></h1><?php endif; ?>
<div class=”post-meta”>
<?php if ( is_sticky() && is_home() && ! is_paged() ) :
echo ‘<span class=”genericon genericon-pinned”></span><span class=”sticky-post”>’ . __( ‘Sticky /’, ‘bluesand’ ) . ‘</span>’;
endif; ?>” href=”<?php the_permalink(); ?>”><?php the_time(‘F j, Y’); ?>
<span class=”separator”> / </span>
<span class=”author-link”><?php the_author_posts_link(); ?></span>
<?php if ( comments_open() ) : //if comments are allowed for current post, add link to comments ?>
<span class=”separator”> / </span>
<?php comments_popup_link( __( ‘0 comments’, ‘bluesand’ ), __( ‘1 comment’, ‘bluesand’ ), __( ‘% comments’, ‘bluesand’ ), ‘comments-link’ ); ?><?php endif; ?>
<?php if ( current_user_can(‘edit_posts’) ) : ?>
<span class=”separator”> / </span>
<?php edit_post_link( __( ‘Edit’, ‘bluesand’ ), ‘<span class=”edit-link”>’, ‘</span>’); ?>
<?php endif; ?></div> <!– post-meta –>
<?php if ( is_search() ) : ?>
<?php the_excerpt(); ?><?php else : ?>
<?php the_content( __( ‘Continue Reading’, ‘bluesand’ ) ); ?>
<?php wp_link_pages( array(
‘before’ => ‘<div class=”post-pages”><span>’ . __( ‘Pages: ‘, ‘bluesand’ ) . ‘</span>’,
‘after’ => ‘</div>’,
‘link_before’ => ‘<span class=”nonactive”>’,
‘link_after’ => ‘</span>’
) ); ?><?php endif; ?>
<?php if ( has_category() ) : ?>
<p class=”category-links”><?php the_category( ‘, ‘ ); ?></p>
<?php endif; ?><?php the_tags(‘<p class=”tag-links”>’, ‘, ‘, ‘
</p>’ ); ?></article> <!–post_class–>
- The topic ‘HELP! (Parse error: syntax error, unexpected end of file in)’ is closed to new replies.