andreuvi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: help with the Archives.php fileHi again,
I am still having issues with this script. This is a fragment but according to the error message I get, there is a T-class error in one of the last two lines (it says line 27). Could a change in spaces or alignment generate this type of error? Can you please help me solve it?
Thank you very much in advance!
C‘<?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 echo get_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”><?php the_title(); ?><?php _e(‘Continue Reading’,woothemes); ?></p></div><!– /entry –>’
Forum: Fixing WordPress
In reply to: help with the Archives.php fileThank you Jono, I really appreciate it!
C
Forum: Fixing WordPress
In reply to: help with the Archives.php fileSorry, there is an error <?php the_title(); ?>>
but when I corrected it, I still got the syntax error
??Forum: Fixing WordPress
In reply to: help with the Archives.php fileThanks jherrington1, but that didn’t work.
I guess you have to change it in all places, as I did?, but still didn’t work. Out of curiosity, to look for the line with the error, do you count spaces as well as lines with script?
It is still giving me the error in the same line‘<?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><?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”><?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(); ?>’