I used reversed comments plugin, index.php included.

  • Unknown's avatar

    I try using the reverse order comments plugin, I need to edit the single.php file.

    This is how it looks now:

    [code]<?php get_header(); ?>

    <div id="content-left">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="box-left clearfix">

    <?php if(get_post_meta($post->ID, "image_value", true)) : ?>
    <img src="<?php bloginfo('template_url'); ?>/lib/thumb.php?src=<?php echo get_post_meta($post->ID, "image_value", true); ?>&w=180&h=180&zc=1&q=95" class="article-img-single" width="180" height="180" alt="<?php the_title(); ?>" />
    <?php else : ?>
    <img src="<?php bloginfo('template_url'); ?>/img/default.jpg" class="article-img-single" alt="<?php the_title(); ?>" width="180" height="180"/>
    <?php endif; ?>

    <h2 class="article-title"><?php the_title(); ?></h2>

    <div class="article-meta"><?php the_date(); ?> <?php _e('in'); ?> <?php the_category(', '); ?></div>

    <div class="article-teaser"><?php $more = 0; the_content(''); ?></div>

    <?php after_more_content($post->post_content); ?>

    <?php the_tags('<p class="tags">'.__('Tags','destyle').': ', ', ', '</p>'); ?>

    <?php edit_post_link(__('Edit Post','destyle'), '<p>', '</p>'); ?>

    </div>

    <?php if(!get_option('destyle_auth_dsp')) : ?>
    <div class="box-left box-author clearfix">

    <?php echo get_avatar(get_the_author_email(), '100'); ?>

    <h3><?php the_author_posts_link(); ?></h3>

    <p><?php the_author_description(); ?></p>

    </div>
    <?php endif; ?>

    <?php if(function_exists('ro_comments_template')) ro_comments_template(); else comments_template(); ?>

    <?php endwhile; ?>

    <?php else : ?>

    <div class="box-left">

    <h2 class="article-title"><?php _e('Not found!','destyle'); ?></h2>
    <p><?php _e('Sorry, no posts matched your criteria.','destyle'); ?></p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    </div>

    <?php endif; ?>

    </div><!-- end content-left -->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>[/code]

    However, when I try this there are no comments displayed.

    What am i doing wrong?

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    You’ll need to head over to WordPress.org, as the support bot says I’m afraid.

  • The topic ‘I used reversed comments plugin, index.php included.’ is closed to new replies.