Problème dans le single.php
Problème dès qu’on veut afficher une page d’un article : Parse error: syntax error, unexpected T_STRING in /homepages/12/d313038342/htdocs/wp-content/themes/motion/single.php on line 30
Fichier single.php :
<?php
/**
* @package WordPress
* @subpackage Motion
*/
get_header(); ?>
<div id=”main”>
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (function_exists(‘wp_list_comments’)): ?>
<div <?php post_class(post); ?> id=”post-<?php the_ID(); ?>”>
<?php else : ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<?php endif; ?>
<div class=”posttop”>
<h2 class=”posttitle”><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a></h2>
<div class=”postmetatop”>
<div class=”categs”>Filed Under: <?php the_category(‘, ‘) ?> by <?php the_author(); ?></div>
<div class=”date”><span><?php the_time(‘M.d, Y’) ?></span></div>
<div class=”cleared”></div>
</div><!— /postmetatop —>
</div><!— /posttop —>
<div class=”postcontent”>
<?php the_content(‘Lire l’article complet »’); ?>
<div class=”cleared”></div>
<div class=”linkpages”><?php wp_link_pages(); ?></div>
</div><!— /postcontent —>
<small><?php edit_post_link(‘Admin: Edit this entry?’,”,”); ?></small>
<div class=”postmetabottom”>
<div class=”tags”><?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?></div>
<div class=”readmore”><?php comments_rss_link(__(‘Comments <abbr title=”Really Simple Syndication”>RSS</abbr> feed’)); ?></div>
<div class=”cleared”></div>
</div><!— /postmetabottom —>
</div><!— /post —>
<div id=”comments”>
<?php if (function_exists(‘wp_list_comments’)): ?>
<!— WP 2.7 and above —>
<?php comments_template(”, true); ?>
<?php else : ?>
<!— WP 2.6 and below —>
<?php comments_template(); ?>
<?php endif; ?>
</div> <!— Closes Comment —>
<?php endwhile; ?>
<?php else : ?>
<div class=”post”>
<div class=”posttop”>
<h2 class=”posttitle”><a href=”#”>Oops!</a></h2>
</div><!— /posttop —>
<div class=”postcontent”>
<p>What you are looking for doesn’t seem to be on this page…</p>
</div><!— /postcontent —>
</div><!— /post —>
<?php endif; ?>
</div><!— /content —>
<?php get_sidebar(); ?>
</div><!— /main —>
<?php get_footer(); ?>
