• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » Plugins » WP-Members » Documentation » Customizing Forms » Widget Login Form

Widget Login Form

Display

This form will display wherever the WP-Members widget is placed.

HTML

The following is the default generated HTML for the form. All of this can be changed by the use of filters in the functions used to create the form.

<section id="widget_wpmemwidget" class="widget wp-members">
  <div id="wp-members">
    <h2 class="widget-title">Login Status</h2>
    You are not logged in.<br>
    <form name="form" method="post" action="http://example.com/current-page/">
      <fieldset>
        <label for="username">Username</label>
        <div class="div_texbox">
          <input type="text" name="log" class="username" id="username">
        </div>
        <label for="password">Password</label>
        <div class="div_texbox">
          <input type="password" name="pwd" class="password" id="password">
        </div>
        <input type="hidden" name="rememberme" value="forever">
        <input type="hidden" name="redirect_to" value="http://example.com/current-page/">
        <input type="hidden" name="a" value="login">
        <input type="hidden" name="slog" value="true">
        <div class="button_div">
          <input type="submit" name="Submit" class="buttons" value="log in">
          <a href="http://example.com/profile-page/?a=pwdreset">Forgot?</a>&nbsp; <a href="http://example.com/register-page/">Register</a></div>
      </fieldset>
    </form>
  </div>
</section>

Filters

Text and HTML in the login form can be changed by various filters that run during the process of building the form.

 

Functions

 


  • Getting Started
  • Recommended WordPress® Settings
  • Plugin Settings
    • Options
    • Fields
    • Dialogs
    • Emails
    • New Feature Settings
  • Managing Content
    • Restricting Posts
    • Restricting Pages
    • Show Excerpts
    • Custom Post Types
  • Managing Users
  • Registration
    • Choosing Fields
    • Create a Registration Page
    • Moderating Registration
    • Using CAPTCHA
    • Removing Registration Options
  • User Profile
  • Membership Products
    • Membership Properties
  • Menus
    • Individual Menu Items
    • Logged In Menus
    • Login/Logout Menu Link
  • Customizing Emails
    • Email Address
    • Email Content
    • Email Format
    • Email Shortcodes
    • Email Troubleshooting
  • Customizing Forms
    • Create a Custom Stylesheet
    • Using the WordPress Customizer
    • Login Form HTML
    • Registration Form HTML
    • Widget Login Form HTML
  • Shortcodes
    • Pages and Forms
    • Login Status
    • User Fields
    • Email
    • Other Shortcodes
  • WP-CLI Commands
  • API Functions
  • Filter and Action Hooks
  • WP-Members FAQs
    • How to add a shortcode
    • How to apply login redirects
  • Demo Videos

Ready to get started?

Join Today!

© 2021 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Refund Policy