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

tips

Simple registration invite code example

Chad Butler · Apr 7, 2013 ·

This article pre-dates the Invite Codes plugin extension. I am leaving it up because it is a nice, light-weight method of setting up a simple invite code process. However, if you just want something easy, check out the Invite Codes extension.

This is an example of adding a very simple invitation code to your registration process.  In this example, we will add an invitation code field to the form and set up a function to validate that code.  To keep it simple, the invitation code will be static (there will be only one code).  Later I will be publishing a more advanced example where you can read user specific codes from a database table, validate, and also mark the code as claimed.  Continue Reading →

Email users when a new post is published

Chad Butler · Mar 19, 2013 ·

This tip is a request from a user.  I like user requests – that makes it easier to deliver the kind of tutorials users are looking for instead of things I just come up with on my own.

This particular tip will address how you can automatically send an email to all users when a post is published or updated. 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 →

Create a wp-members-pluggable.php file so that it is editable in the plugin editor

Chad Butler · Oct 23, 2012 ·

WP-Members looks for a wp-members-pluggable.php file when it loads.  This is where you can store your plugged versions of the WP-Members pluggable functions.  To create the pluggable file, you need do nothing more than create a file named wp-members-pluggable.php and save it to your WordPress plugins folder.

But what if you would like to be able to edit this file within the WordPress admin panel using the plugin editor?  This is a way for you to accomplish that. Continue Reading →

Create a sidebar login status and logout link

Chad Butler · Oct 18, 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..

 

In some layouts, you may wish to not use the WP-Members sidebar widget for logging users in, but you may still want to display a user’s login status (when logged in) and provide a logout link.  Here is how you can do that with a plain text widget. 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 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