Allow OpenID based commenters to add their thoughts via comments on your WordPress blog. This plugin is not an OpenID server.
Note: this version 0.04 is for WordPress version 2.5 RC1 or a newer. It is not intended to be used with WordPress version 2.3, use (Alternate OpenID for WordPress) version 0.03 for WordPress version 2.3.
This section describes how to install the plugin and get it working.
alternate-openid folder to the
Activate the plugin through the 'Plugins' menu in WordPress.
Open your theme's Comments.php file in your favorite text editor and find the section that begins:
<?php if ('open' == $post->comment_status) : ?>.
Just below this you should find (this varies a bit, it depends on your theme) a part that ends:
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>.
Right below that, put the following:
<!-- /* added for alternate OpenID plugin */ --> <?php if (function_exists("openid_url_input_text")) : ?> <div> <form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post"> <?php openid_url_input_text(); ?> </form> </div> <?php endif ?> <!-- /* if function exists "openid_url input text" */ -->`
Your theme may have forms styled a certain way, if so replace the
<div> tag with one that is appropriate for your CSS setting, i.e.
This portion you add in should be above the line
<?php else : ?>
<?php else : ?> ends part of the section portion that began with the
<?php if ('open' == $post->comment_status) : ?> line.
Requires: 2.5 RC1 or higher
Compatible up to: 2.5 RC2
Last Updated: 9 years ago
Active Installs: Less than 10
Got something to say? Need help?