Ricky: Xi'Anese IN Melbourne(Start on 8th, MAR)

  • Ricky


    Click To Donate Me A Beer

  • Categories

  • Meta

WordPress Page页面允许Comment留言

Posted by Ricky on December 4, 2008

一直想着把置顶的两篇文章专门做出页面,但是在WordPress,写Post可以留言,就是comment,page一直不行,虽然page选项里面有允许留言的选项,但是选了并不起什么作用。

一直以为是需要通过某种插件实现的。但是插件又太多太多,找了半天也没找到。就找到了一个可以引用别人留言的插件:WordPress Thread Comment

http://blog.2i2j.com/plugins/wordpress-thread-comment

前两天无意之间在网络上找到了最简单的可以实现page留言的办法。

在编辑主题模式中找到page.php文件,然后找到

<?php endwhile; endif; ?>

在这一行之前添加<?php comments_template(); ?>

怎么样,简单吧?享受你的page可以留言的乐趣吧!

Advertisement

10 Responses to “WordPress Page页面允许Comment留言”

  1. SonyaSunny said

    Thank you! I would now go on this blog every day!

  2. Zoran said

    Thanks for article. Everytime like to read you.
    Have a nice day
    Zoran

  3. Great post!! I just have to copy it :)

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 53 other followers