• Resolved grosbouff

    (@grosbouff)


    Hello, I got an error at the line with my <?php else :?>, but I can’t see what is wrong.
    Could you help me ?
    THanks !

    if (have_posts()) : ?>
    
    			<?php while (have_posts()) : the_post();
    
    			?>
    
    				<div class="post" id="post-<?php the_ID(); ?>">
    					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    					<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    					<small><div align="right"><?php the_translations() ?></div></small>
    
    					<div class="entry">
    						<?php the_content('Read the rest of this entry &raquo;'); ?>
    					</div>
    
    					<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    				</div>
    
    			<?php endwhile; ?>
    
    			<div class="navigation">
    				<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    				<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    			</div>
    
    		<?php else : ?>
    
    			<h2 class="center">Impossible de trouver la page</h2>
    			<p class="center">D&eacute;sol&eacute;, mais la page n'a pas &eacute;t&eacute; trouv&eacute;e !</p>
    			<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    		<?php endif; ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strange error in template’ is closed to new replies.