• 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

Automatically block child pages

Chad Butler · Nov 24, 2013 ·

Suppose you have the WP-Members plugin set up to leave pages unblocked.  You have a single page that is set at the page level to be blocked, and you would like all children of this individual page to be blocked automatically without having to block each of them individually (or remember to do so).  Here is a simple way to do that.  Continue Reading →

Sidebar status highlight username

Chad Butler · Nov 10, 2013 ·

Suppose you want to highlight the user’s username in the sidebar status message.  Here is an easy filter to do that.  Continue Reading →

Removing items from the menu based on login status

Chad Butler · Nov 9, 2013 ·

Generally, menus are going to be filled with static items. A “set it and forget it” kind of thing.  In those cases, there are some really good methods of setting up various menus to display based on a user’s login status (here and here).

But what if that’s the case?  What if you have a menu that you will dynamically be adding content to and you just want one menu to do it all?  This filter function might suit your needs.

Continue Reading →

Creating menus based on login status – alternate version

Chad Butler · Oct 30, 2013 ·

Over in this post, I described a method of displaying different menus to users based on their login status by setting up your theme to display the different menus.  But isn’t there an easier way that doesn’t involve theme edits?

Yes.  And I’m glad you asked that question.

This method is even easier and simply requires you to drop the included code snippet into your theme’s functions.php file.  You will need to update the variable names in the snippet to reflect your menu names.

There is now a Logged In Menus Extension that makes the entire process as easy as installing a plugin.

Continue Reading →

Add a separator line of text in the registration form

Chad Butler · Oct 21, 2013 ·

This is an example of how to add a line of text in your form, ideal for creating separation for sections of a form, or to add specific instructions.  Continue Reading →

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