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

basics

Create a Custom 404 Page

Chad Butler · Dec 5, 2018 ·

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

 

WP-Members offers the ability to “hide” content from non-registered users.  When content is hidden, it is as if the content does not exist if the user is not logged in.  That results in a 404 – which basically is a “not found” message.

But a generic 404 message like “Oops! That page can’t be found” may not be exactly what you want.  In that case, you will want to create a custom 404 template.  Continue Reading →

How to reset your WordPress password with WP-CLI

Chad Butler · Sep 25, 2018 ·

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

 

It happens to all of us at some point or another – especially when doing development work – you find yourself locked out of your WordPress site with no way to change or reset your admin password.  What do you do in that situation?

Here is a way you can update your password (and other aspects of your account) directly from the command line. Continue Reading →

How to reset your WordPress password from phpMyAdmin

Chad Butler · Sep 25, 2018 ·

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

 

It happens to all of us at some point or another – especially when doing development work – you find yourself locked out of your WordPress site with no way to change or reset your admin password.  What do you do in that situation? Continue Reading →

How the plugin handles blocking content

Chad Butler · Jun 29, 2016 ·

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 plugin filters what is in WP’s $content variable during The Loop based on whether or not the user is logged in.  In its most basic form, if the user is logged in, it allows the content to be displayed.  If the user is not logged in, it empties this value and replaces it with the login and registration form.

Back in 2005-2006 when the plugin originated, this was a very simple process.  Today, not so much.  Today we have custom post types, visual page builders, plugins that are really a full blown application such as WooCommerce or BuddyPress, and countless other possibilities.  

Continue Reading →

Do not modify plugin files

Chad Butler · May 3, 2015 ·

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

 

This is an important best practice – never, ever modify plugin files directly.

Rule 1: there is never a good reason to do this.

Rule 2: refer to rule 1.

Continue Reading →
  • Page 1
  • Page 2
  • 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