help with the Archives.php file
-
Hi,
I accidentally modified the Archives.php of The Station theme and now my archives page is showing a syntax T-Class message on line 28.
I can’t figure out what the issue is; I am new to WordPress and really don’t know much about php files…There is a space a the bottom, but none at the top. Not sure that detail is relevant.
here is the script:
‘<?php get_header(); ?><?php if ( function_exists(‘yoast_breadcrumb’) ) yoast_breadcrumb(‘<div id=”breadcrumb”><p>’,'</p></div>’); ?>
<div id=”content”>
<div id=”main_content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post”>
<div class=”post_head”>
<div class=”title_meta”>
<h2>” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
<p class=”meta”><?php _e(‘Published on’,woothemes); ?><?php the_time(get_option(‘date_format’)); ?><?php _e(‘in’,woothemes); ?><?php the_category(‘, ‘); ?></p><div class=”entry”>
<?php
if ( get_option(‘woo_the_content’) == ‘true’ )
the_content(‘[…]’);
else
the_excerpt();p class=”continue_reading”>” title=”<?php the_title(); ?>”><?php _e(‘Continue Reading’,woothemes); ?></p>
</div><!– /entry –>
</div><!– /post –>
<?php endwhile; ?>
<div class=”pagenavi”>
<?php if (function_exists(‘wp_pagenavi’)) { ?><?php wp_pagenavi(); ?><?php } ?>
</div><?php endif; ?>
</div><!– /main_content –>
<?php get_sidebar(); ?>
<div class=”clear”></div>
</div><!– /content –>
<?php get_footer(); ?>’
- The topic ‘help with the Archives.php file’ is closed to new replies.