• Skip to primary navigation
  • Skip to main content

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
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Archives for Filters

Filters

Adding user display name to the registration form

Chad Butler · Oct 8, 2012 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WordPress does not allow for users to change their username, so neither does WP-Members.  However, it does allow for the use of “display name” which is the name that is displayed on the site when showing users’ names.   The default install of WP-Members does not make use of display name.  In fact, by default, it adds the user’s username to this field so that it is not empty in the database, just in case you are using that information somewhere else on the site (such as in a forum).

But what if you want to make use of the display name field?  How can you add that to the front-end user profile in WP-Members.  This post will show you how to add it to the registration form (which by default includes the user update form), and then how to show it only in the user update form. Continue Reading →

User redirection on logout

Chad Butler · Oct 2, 2012 ·

The default setup of the plugin will redirect the the user to the blog’s home page when they click the logout link. But what if you want to direct them somewhere else when they are logging out. Here are some ideas on how to do that. Continue Reading →

Add section headings to the registration form

Chad Butler · Sep 4, 2012 ·

In cases where you have a long registration form, you may want to add section headings to the form for an easier user experience.  This post will give you a simple example to add headings to your form. For this example, we will be using the default values that install with the plugin and be adding an html <h2> heading to some of the form.Continue Reading →

Add a database generated list of values to the registration form as username

Chad Butler · Aug 29, 2012 ·

This post will show you how to replace the username selection in the registration form with a dropdown list of choices generated from a database.  This is similar to what is described in this post except that in this version, we are using this as the username selector. Continue Reading →

Add a database generated list of values to the registration form

Chad Butler · Aug 27, 2012 ·

This sample code is an example of how to take a list of values from a database table and use it to generate a dropdown select option in your registration form.  You can get as involved or as simple as need be from this framework.

I will be giving an example that will take a list of names from a database table so that the user can select their name from the list. To make it a little more interesting (and functional), I will update the table when the user registers so that name will not show in the registration form in the future. Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Go to Next Page »

Ready to get started?

Join Today!

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

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