• I am using easel and messed up the single php file trying to get WP Favorites to work

    Parse error: syntax error, unexpected $end in /home/content/84/8930884/html/wp-content/themes/easel/single.php on line 26

    Is the error on all my posts I’m getting.

    [code moderated - please use the pastebin]

    Above is the code can anyone assist me please.....this is an emergency

Viewing 1 replies (of 1 total)
  • Try this,

    [next time – please respect the 10 lines limit for posting code – the code will otherwise get moderated]

    <?php
    get_header();
    
    if (is_active_sidebar('blog')) get_sidebar('blog');
    
    if (have_posts()) {
    
    while (have_posts()) : the_post();
    easel_display_post();
    endwhile;
    
    } else { ?>
    
    <div <?php post_class(); ?>>
    <div class="post-head"></div>
    <div class="post">
    <p><?php _e('Sorry, post is not found.','easel'); ?></p>
    <div class="clear"></div>
    </div>
    <div class="post-foot"></div>
    </div>
    <?php
    }
    
    get_footer();
    ?>

    Please use code tags when pasting code – makes it easier to read. Also try to take backups before you change stuff – really helps 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Messed up Single.php…Emergency’ is closed to new replies.