• 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 the WP display_name field to the WP-Members user profile update form

Chad Butler · Jul 10, 2013 ·

Recent versions of the plugin have improved support for some of the WP native fields such as nickname, user_nicename, and display_name.  I will be continuing to improve support for these fields.  Currently, if you want to add something like the Display Name field to the front end of the plugin, you need a little customization.  This post will take you through adding that to the front-end user profile update.

This needs to be done in the user profile update and not at registration because WP bases these fields on data used in registration that is not available on the static form – the nickname, the username, and first/last name.  This tutorial focuses on adding it to the user profile update, much like WP’s backend (which doesn’t set this at registration, either). Continue Reading →

Move form label for checkboxes with a filter

Chad Butler · Jul 1, 2013 ·

Suppose you want to move the text label for a checkbox the default layout of the registration form.  You would like to move it to be to the right of the checkbox.  How can that be done?

The WP-Members registration form has a basic default layout. This is necessary for it to be functional in a wide variety of uses, themes, etc. But what if you need something a little different?  Well, it is very customizable and flexible with filter hooks that allow you to use a function to filter the form before it is displayed. Continue Reading →

Add a helpful dialog above the password reset form

Chad Butler · Apr 5, 2013 ·

Suppose you want to add a little text above the password reset form that will help the user know what to do – in this case, put in your username and email and you’ll receive an email with a new password.  Here is an easy way to do that with the wpmem_login_form filter. Continue Reading →

Blocking custom post types

Chad Butler · Feb 22, 2013 ·

Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types.

With explosion of custom post types in WordPress 3.0, the WordPress world has changed somewhat from what it was when WP-Members was first developed.  If you have a theme or site that uses custom post types, you may find that you need to make some adjustments to accommodate what content you would like to be blocked.

Continue Reading →

Create different styles for “success” and “error” messages

Chad Butler · Jan 4, 2013 ·

This is an idea that has been floated by a few users, which means there is probably a need for it.  As is usually the case, I don’t like to make wholesale changes to the codebase that effects users in a way that requires them to make a change to accommodate an update.  So I wouldn’t want to change the plugin to put in different classes, since users with a custom stylesheet would need to be paying attention when they update to accommodate the new classes in their stylesheet.  But this is something that we can certainly do on the fly using the wpmem_msg_dialog filter.  This article will show you how to do just that.  Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Interim pages omitted …
  • Page 15
  • 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