• Hello Guys,

    I need some help. Thank you.

    I have created a page for blog, in the reading setting i pointed that blog should be blog page. and that is it. blog page displays just fine, but when i wanna click on the title of the blog entry i get this error.

    Parse error: syntax error, unexpected $end in /public_html/2332/wp-content/themes/ilost/single.php on line 28

    Can someone help?

    thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • May i show your code?

    Thread Starter fast4u

    (@fast4u)

    here you go

    <?php get_header();?>
    <div id="content">
    <article>
      <?php if(have_posts()){while(have_posts()){the_post();?>
      <section id="post-<?php the_ID();?>" <?php post_class();?>>
       	<div class="title">
          <h2><?php the_title();?></h2>
          <small><?php the_time('m.d.Y');?>, <?php the_category(', ');?>, by <?php the_author_posts_link();?><?php if(function_exists('the_views')){?>, <?php the_views();}?>.<?php edit_post_link(__('Edit','iLost'),' [',']»');?></small>
        </div>
        <div class="entry">
        	<?php the_content();
    			wp_link_pages('before=<nav class="post-link">&after=</nav>&next_or_number=number&pagelink=<span>%</span>');?>
        </div>
        <div class="post-meta">
    			<?php edit_post_link(__('Edit','iLost'),'<span class="alignright"> [',']</span>');?>
    			<?php the_tags(__('Tags: ','iLost'),' | ','');?><div class="clear"></div>
        </div>
        <nav class="post-nav">
        	<span class="previous"><?php previous_post_link('%link');?></span>
        	<span class="next"><?php next_post_link('%link');?></span>
        	<div class="clear"></div>
      	</nav>
      </section>
    </article>
    <?php get_sidebar();?>
    <div class="clear"></div>
    </div>
    <?php get_footer();?>

    [Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

    What theme are you using? Where did you download it from?

    Thread Starter fast4u

    (@fast4u)

    iLost

    i download it from the main theme directory!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Reading settings problem’ is closed to new replies.