Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress Ajax Comments Inline

Display inline ajax comments (comment form) of one post in home page,category,tag page etc.

  1. Upload the whole WordPress Ajax Comments Inline plugin directory to your wordpress blog /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress Dashboard.
  3. Place <?php show_hide_comments_link(); ?> in your theme's template file where you expect the "Show Comments" / "Hide Comments" link to be displayed.
  4. Place <?php display_ajax_comments(); ?> in your theme's template file where you want the ajax comment field (or comment form) to be displayed.
  5. You can place the short code above in your theme's index.php (or home.php,front-page.php: display inline ajax comments in wordpress blog's home page), or archive.php(category.php,tag.php,date.php etc.,display inline ajax comments in the category or tag page etc.).Take a look at the example bellow for details.
  6. If the style doesn't suit for your theme, you can modify the css file wordpress-ajax-comments-inline/wpaci_style.css in the plugin directory to custimize how it looks.
  7. Go to the admin page: Dashboard-Plugins-Inline Ajax Comments to set the settings if you don't want the default one.

Example:modify index.php:

<?php while ( have_posts() ) : the_post(); ?> ..... <div id="post-<?php the_ID(); ?>" <?php post_class(); ?> <div class="entry-meta"></div><!-- .entry-meta --> <div class="entry-content"></div><!-- .entry-content --> <div class="entry-utility"> <span><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> <?php show_hide_comments_link(); ?> </div><!-- .entry-utility --> <?php display_ajax_comments(); ?> </div><!-- #post-## --> <?php endwhile; // End the loop. Whew. ?>

Requires: 2.0.2 or higher
Compatible up to: 3.1.4
Last Updated: 6 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 33,3,1