又一个wordpress AJAX paged comments 插件

这个插件提供

方式在发表评论、确认、翻页等!

image-thumb2

image-thumb2

下载地址:点击下载该插件

插件的安装:

1.上传 YAAPC 到 `/wp-content/plugins/` 目录!

2.在 ‘Plugins’ 菜单下激活该插件。

3.(可选择的,但是推荐这样做)修改你的评论模板(comments.php),添加一个 div 标签 id=”yaapc-comments”  把< ?php yaapc_pages()?>` 放到你想显示的地方去.看下面的例子。

4.修改样式表style.css 在YAAPC 目录自定义YAAPC的外观

修改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>
... ...

7 Responses to “又一个wordpress AJAX paged comments 插件”

  1. netmp CHINA Mozilla Firefox Windows says:

    不知道好使不?

    [Reply]

  2. wjqq_001 CHINA Internet Explorer Windows says:

    试试看看

    [Reply]

  3. 小争 CHINA Google Chrome Windows says:

    你好,请教一个问题,你的这个评论功能用的是这个控件嘛?如果不是,你这个评论中的获取留言者 地区 浏览器 系统信息 是用什么插件实现的呢?谢谢

    [Reply]

  4. taotao001 CHINA Internet Explorer Windows says:

    你这个网站的网址不错

    [Reply]

  5. Xcott.Cn CHINA Mozilla Firefox Windows says:

    test ^_^ 不好意思

    [Reply]

    久酷 CHINA Mozilla Firefox Windows Reply:

    没关系 ,尽管测试,不过现在我不是用这款插件,呵呵

    [Reply]

  6. NetPuter CHINA Internet Explorer Windows says:

    不知道有米有DEMO呢~

    [Reply]

Leave a Reply

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!:



正在读取数据……