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

wpmem_register_form_rows

Display form rows in columns

Chad Butler · Oct 19, 2018 ·

This tutorial will address the common question, “How do I layout the form in columns?”

Let me say that this tutorial is one of those that is a “guideline,” not an exact science. That is due to the number of different variables that cannot be controlled.  So for best chance of success, I recommend that you start with the basic process exactly as in the example. Try to reproduce that first so that you understand what it is doing before moving on to something complicated.

The following is a discussion of the the exact code snippets that I used in this demo (which also uses the code snippets for assigning placeholders to the fields and removing labels).

Continue Reading →

Generate Random User Display Name and Nickname

Chad Butler · Nov 17, 2015 ·

One thing I love about WP-Members is how versatile it is. Because of this it gets used in many applications that I did not really envision when I first released it in 2006.  Recently, I had a support user ask about something that I am surprised has not come up before involving using alternate display names and/or nicknames for users because the user base is made up of minors (children).

This made total sense to me and I understand the needs of sites that have to protect identities of users, especially minors.  In this particular case, the suggestion was made to create random values for the user’s display name and nickname that was used on the site.

Here is a set of scripts that will allow you to generate random display names for users.  The given example uses colors and numbers creating results such as red22 or blue99, but this can be adapted to use as many different words as you would like and can also use more than two digits.  It tests for name uniqueness, not allowing duplicate results, and also includes scripts for allowing users to update their name as long as it remains unique.  Continue Reading →

Add a file upload field to attach to admin notification email during registration

Chad Butler · Apr 21, 2015 ·

This tutorial will describe how to add a file upload field to the registration form and have the resulting file be sent with the admin notification email. 

Continue Reading →

Creating an optgroup tag in a dropdown list

Chad Butler · Apr 16, 2015 ·

Here is a slightly more advanced example of using the wpmem_register_form_rows filter to modify a form input element. In this case, we will take a regular dropdown select field and add the optgroup label tag to sections of it.

Note: for best results in understanding this customization, it is best to create a test field exactly as described in this example and using the example scripts as they are written.  Once you have it working, then you can move to creating this process for your specific field. Continue Reading →

Make MailChimp subscribe field a hidden field in the WP-Members registration form

Chad Butler · Mar 11, 2015 ·

Suppose you are using the WP-Members registration form essentially as an opt-in to your MailChimp list.  Essentially, you want anyone who fills out the form to be added to the MailChimp opt-in process.

This requires you to have the MailChimp extension installed and a subscribe field set up and configured.  This filter will take that field and make it a hidden field, essentially triggering the MailChimp opt-in process for all users. Continue Reading →

  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • 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