adding comment login fields to site (5 posts)

  1. DrGizmondo
    Posted 6 years ago #

    Hi all, On my new site design it have set it up so that all commenters have to login first. I would like readers to be able to login to their accounts without using the standard WP login page by adding the "User Name" and "Password" login fields to the bottom of the page, is the possible? and if so can it be implemented.

  2. Samuel B

    Posted 6 years ago #

    open your theme's comments.php

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

    <?php wp_register(); ?>
    		<?php wp_loginout(); ?>
  3. DrGizmondo
    Posted 6 years ago #

    @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.

  4. mrbinojkb
    Posted 6 years ago #

    Just try with,
    Administrator > Settings > Discussion.

  5. Mike Little
    Posted 6 years ago #

    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,


Topic Closed

This topic has been closed to new replies.

About this Topic