• 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

Blocking Custom Post Types

Chad Butler · Nov 21, 2014 ·

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

 

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.

This is a new method of blocking custom post types. There are two main differences over the method described here and the original method.

First, this method is a little more scalable.  If you have multiple custom post types and want to set a blocking value for each, you only need to add to the settings array.  Second, this method allows you to override the blocking value on an individual custom post type post than you have set for the custom post type as a group.  This operates the same as regular posts and pages. It also takes advantage of the new extra settings that WP-Members version 3.0 offers.

(If you want to add a meta box for blocking/unblocking individual custom post type posts, there is an additional code snippet you can add here.)  Continue Reading →

Add front end field sorting to the User List

Chad Butler · Nov 1, 2014 ·

This set of code snippets will add a list of sorting links to the top of the User List, a link for each of the fields displayed in the main list. 

Continue Reading →

Move the Username Field in the Registration Form

Chad Butler · Oct 31, 2014 ·

By default, the username field comes at the beginning of the form rows array.  This field is not included in the plugin’s fields manager tab, so you can’t re-order it via drag-and-drop like the rest of the fields.

This quick and dirty code snippet that will allow you to move the location of the username field to come after any other field in the registration form.  Continue Reading →

Request additional fields on user profile

Chad Butler · Oct 19, 2014 ·

Sometimes, you might want to have a limited set of fields during the registration process, but would still like additional fields available for the user to complete in the user profile.  If these are not required fields, the process is relatively simple and can be completed with a single filter function.  

Continue Reading →

Customize form fields based on specific page or post criteria

Chad Butler · Sep 22, 2014 ·

This is a general discussion of how to customize the fields that are displayed in the registration form based on the page or the post that it is being displayed on.

There are some more advanced ways to approach this, but for most users, this will be the easiest to implement.
Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • 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