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

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(); ?>

    Thread Starter 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 https://www.ads-software.com/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.