• 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 » Blog

Blog

Disable the WordPress toolbar

Chad Butler · Sep 4, 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..

 

The “admin bar” is actually more correctly referred to as the Toolbar. But most people refer to it as the admin bar, so I’ve referring to it as such in this post so as not to confuse anyone.

Removal can be managed with 3 lines of code to your functions.php file (or 1 if you really want to be efficient).

Continue Reading →

Displaying sidebar widgets based on login status

Chad Butler · Sep 3, 2012 ·

Many users would like to display different sidebar widgets based on the user’s login status, including restricting certain content from view of visitors who are not registered or logged in.  This tutorial will explain how to set up widget areas to display based on the user’s login status.  This is similar to displaying different menus to users based on login, but is slightly more complex.  Don’t let that detract you from trying this technique, however, as it is a powerful tool for your site.  Continue Reading →

Customizing WP-Members with pluggable functions

Chad Butler · Aug 29, 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..

 

IMPORTANT: This article remains here for legacy purposes. There are many users who utilize pluggable functions in the plugin and have not updated these processes to utilize hooks and filters. There are also articles buried in this blog that have customizations that use a pluggable function (if you find one, let me know). HOWEVER, pluggable functions, while still supported, are not the preferred way of customizing plugin features. Like WordPress core, these were the original way to customize, but as filter and action hooks were added to the application, pluggable functions were not longer necessary. The API for WP-Members is much more mature than it was when pluggable functions were introduced. There really should be no reason to use pluggable functions at this point. If you are working on customizing on your own and you see no other way than to use a pluggable function, mention it to me as there may be a better way, or maybe there needs to be a new filter or action in the plugin.

Making direct changes to the functions within the plug-in is discouraged because it puts the user in a difficult situation. These types of changes are generally referred to as “hacks” and hacks must be reapplied anytime you upgrade the plug-in. Avoiding upgrades because of the need to update your hacks is a bad practice because upgrades often include important security updates.

So to make things a little more extensible, I have introduced pluggable functions to the WP-Members plug-in. Pluggable functions are functions that can be recreated outside of the plug-in itself without the need to make changes to the core script files directly. This way the plugin can be customized so that when you upgrade, your customizations will not be overwritten. 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 70
  • Page 71
  • Page 72
  • Page 73
  • Page 74
  • Interim pages omitted …
  • Page 81
  • 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