Forums

Anyone Know Good Plugin for leaving comments on posts? (5 posts)

  1. ZJL
    Member
    Posted 2 years ago #

    Hi,
    I downloaded and started using a theme I like (MaiQ) and only after doing tons of work on it, realized that there is no "Leave comment here" link at the bottom of posts. People have to click on the post title or the teeny tiny person head next to it.

    I want to really encourage comments. So I downloaded Aaron Dwyer's "Add your comment" link. I'm grateful to have SOMETHING, but not satisfied. The "add your comment" text with link appears immediately after whatever text I have in the post (not systematically in the same place at the bottom of the post), so it looks sloppy at times and is broken into two or three lines between images I may have added to the post.

    Any other suggested plugins/methods? Can't seem to find any.

    http://www.betterinboots.com

  2. Jonathan Dingman
    Member
    Posted 2 years ago #

    you don't really need a plugin for it. if you really want to encourage comments, give users $1 per comment :)

    but honestly, saying something like "leave your thoughts in the comments" below each post or something can be helpful

  3. Roy
    Member
    Posted 2 years ago #

    Have a look a the index.php of your theme where the posts are called for, there should be a comment function. This is from my theme:

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="postmetadata">
    <?php if( function_exists('the_tags') ) the_tags(__('Browse: '), ', ', '<br />'); ?>
    <?php _e('Category:') ?> <?php the_category(', ') ?>
    <?php edit_post_link(__('Edit'),  ''); ?>
    </div>
    <div class="postentry">
    <?php the_content(__('Continue reading'). " ‘" . the_title('', '', false) . "’ &raquo;"); ?>
    </div>
    <div class="postmetadata"><?php the_time('j F Y') ?> <!-- <?php _e('by') ?> <?php the_author() ?> --></div>
    <?php comments_popup_link(__('Comment'), __('1 Comment'), __('% Comments')); ?>
    </div>

    Look at the pre-last line. That will show a line below the post saying 0 Comments or 8 Comments, linking to the comment form.

  4. ZJL
    Member
    Posted 2 years ago #

    Gangleri, thanks. Thin is I do not know code at ALL and I'm nervous about editing my index php. I looked at it and see there is stuff about comments, but I do not know what to change so that my comments look like yours (I went to your page and saw how is says "Comment" at the very bottom of each post. That is what I want! Following is my index php file:

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div id="main-<?php the_ID(); ?>" class="postMain">
    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="postMeta"><span class="date"><?php the_time('M', ", "); ?> <?php the_time('d', ", "); ?>, <?php the_time('Y', ", "); ?></span><span class="comments"><?php comments_popup_link(__(' 0 '), __(' 1 '), __(' % ')); ?> </span></div>
    <h2 class="post-title">" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></h2>
    <h5> Categories:  <?php the_category(', ') ?></h5>
    <?php the_tags('<h5>Tags: ', ', ', '</h5>'); ?>
    <div class="entry"><?php the_content(__('Read the rest of this entry »')); ?></div>
    <?php edit_post_link('Edit', '', ''); ?>
    </div>
    </div>
    <?php comments_template(); ?>
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    <?php endif;
    if ((!is_single()) && ($wp_query->max_num_pages > 1)) {
    __('<div id="more">continue: ');
    posts_nav_link(__(' BROWSE '), __('<img src="'.get_bloginfo('template_directory').'/images/arrow_prev.gif" />'), __('<img src="'.get_bloginfo('template_directory').'/images/arrow_next.gif" />'));
    __('</div>');
    }
    ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  5. aarondwyer
    Member
    Posted 2 years ago #

    Hi

    Thanks for using my plugin. I've looked at your blog and it appears fine to me, are you still using my plugin.?

    The Add your comment link will be added at the bottom of each post.

    Aaron

Topic Closed

This topic has been closed to new replies.

About this Topic