WordPress.org

Support

Support » How-To and Troubleshooting » adding comment login fields to site

adding comment login fields to site

Viewing 4 replies - 1 through 4 (of 4 total)
  • open your theme’s comments.php

    right before /form near the end of comments.php add this

    <?php wp_register(); ?>
    		<?php wp_loginout(); ?>

    DrGizmondo

    @drgizmondo

    @samboll thanks for the quick responce, but all that does it add links to bellow the comment window after login for logout and register. what I want is input fields so that ppl can login with username and password WITHOUT having to visit the standard WP login page.

    Just try with,
    Administrator > Settings > Discussion.

    Try the sidebar login plugin http://wordpress.org/extend/plugins/sidebar-login/

    You can add a widget into your sidebar if your theme supports that, or add it’s template function to your footer or wherever

    <?php if (function_exists('sidebarlogin')) sidebarlogin(); ?>

    Hope this helps,

    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘adding comment login fields to site’ is closed to new replies.
Skip to toolbar