Introducing, the Open Post plugin for WordPress

by spunky on December 2, 2009

in Plugins

open-post-pluginIntroducing the “Open Post plugin for WordPress“, another plugin creation from Naif Amoodi and Spunky Jones. If you require your users to register in order to leave post comments, this WordPress plug will be of special interest to you.

The “Open Post” plugin for WordPress was written for websites and blogs that are powered by WordPress, that choose to enable the commenting feature to registered users only. That’s great but sometimes these owners might want to allow anonymous users to post comments on selected posts and pages. This is where the simple and basic Open Post plugin comes into play. On a website or blog where comments can only be posted by registered users, you can use this plugin to override this on posts and pages of your choice. The plugin is very simple to install. Once installed, a few things have to be taken care of first before it can work. The instructions are as follows.

First of all, install and activate the plugin and then edit the file /wp-comments-post.php located under the root of your WordPress installation and find:

get_option(‘comment_registration’)

Replace it with:

(get_post_meta($comment_post_ID, ‘openpost_allow’, true) != true && get_option(‘comment_registration’))

Save and close the file.

Then open the comments.php file located under your theme’s folder and find:

get_option(‘comment_registration’)

Replace it with:

get_post_meta($post->ID, ‘openpost_allow’, true) != true && get_option(‘comment_registration’)

Save and close the file.

- You are done. Now you can allow comments on posts and pages of your choice from the WordPress administration panel. -

Open Post Plugin

Download, the Open Post plugin for WordPress.

Hope this blog post was helpful to you, “Open Post plugin for WordPress

Spunky Jones.

Previous post:

Next post: