Yet another Ajax paged comments plugin for wordpress (YAAPC)
This Plugin provides Ajax enabled comments system with paging,posting and form validation to your WordPress blog.
Features:
- Ajax page navigation
When the user navigate through the comments via page selector,only the comments area will be send back to the client and refreshed,not the full page.This actually save your server load and bandwidth thus making your blog faster and more responsive. The paging system works even if JavaScript is disabled.
- SEO friendly
Pagination can cause a duplicate content issue with search engines.YAAPC can automatically generate “noindex,follow” meta tag in your paged comments page to avoid duplicate content in search engines that may hurt your rankings.(many thanks for Hank’s great comment and advice)
- Ajax comment posting
Posting comments via Ajax,without page refreshing.
- Comment form validation
validate the user input in comment form before sending to server.
Download Yet another AJAX paged comments plugin for wordpress(YAAPC)
Demo and Testing
Click here for demo and testing.
please don’t comment to this post for testing purposes.
Installation
- Upload YAAPC to the `/wp-content/plugins/` directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- (Optional,but recommended) Modify your comments template(comments.php),add a div with id="yaapc-comments" to wrap the comment list area. Place <?php yaapc_pages()?> in where you want the page selector to show.take a look at the example bellow for details.
- Modify the style.css in YAAPC directory to custimize how YAAPC looks .
An example of a modified comments.php:
... ...
<!-- You can start editing here. -->
<div id="yaapc-comments">
<?php if ($comments) : ?>
<h3 id="comments"><?php the_title();</h3>
<?php yaapc_pages()?>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
... ...
<?php endforeach; /* end for each comment */ ?>
</ol>
<?php yaapc_pages()?>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p>
<?php endif; ?>
<?php endif; ?>
</div>
... ...
Administration UI
click for full image:
Q&A
- How to display the comment number?
Add <?php echo $comment->yaapc_number;?> to your comment template(inside loop).
Related posts:
Related posts:
what a beautiful plugin…this is what i've been looking for but I can't get it to work for WP 2.9.1 :(
Can you please update your plugin to make it work with latest version of wordpress?
trree dekjrdoiew
vew iuore ui ruirwe yur ruire iur er euireerjer jkr hjgjhg ejh grehj ejge dfjkdfhj ghj gdndh dsh dfs – nhjjh hjhjol kui yuy rerert yty uyuyiui
trree dekjrdoiew vew iuore ui ruirwe yur ruire iur er euire
erjer jkr hjgjhg ejh grehj ejge dfjkdfhj ghj gdndh dsh dfs
<a href="About”>http://www.cutembt.com/page_3.html">About mbt</a>
Best unlimited web hosting, unlimited master reseller web hosting, best unlimited Alpha reseller hosting http://www.eaglehost.info http://www.acvilla.net, 24/7 Support,
[...] YAAPC デモページはコチラ [...]
mini digital camera free digital camera http://bzcqybvgv.977mb.com/qulle.html
,
,
LimeWire,