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

str_replace

Sidebar status filter advanced demo

Chad Butler · Aug 21, 2012 ·

Sidebar status filter advanced demoThis is an advanced demonstration of what you can do with the sidebar status filter.  In previous examples, I have shown how to use the sidebar status filter to display the user’s avatar.  This more advanced example will build on that, and also show you how to utilize php functions to filter the default sidebar status message and replace it with other user information.Continue Reading →

Bootstrap sidebar login

Chad Butler · May 25, 2012 ·

The sidebar login form on this site is customized with the Bootstrap sprites using the method described here. Continue Reading →

Create a rule for updated passwords to meet certain requirements

Chad Butler · Apr 3, 2012 ·

Here is a tutorial that will walk you through creating a custom password requirement.  The example used requires that passwords contain at least 2 uppercase characters, 2 lowercase, 2 numbers, and 2 special characters; with the a length of at least 8 characters.

From the framework of the example, you can adjust these variables as needed/desired.

Continue Reading →

Bootstrap icons for the login form

Chad Butler · Mar 27, 2012 ·

bootstrap login form This example shows how to add some bootstrap icons to the login form inputs.  If you look at the screenshot to the left, this is what we will be making.  Note: this example assumes that the user has applied WP-Members Bootstrap stylesheet, and has a theme that is using the Bootstrap css.

Even if you are not using Bootstrap, this is a good demo of how to filter the login form for more control over the look and feel.  You can still use the example code, even if you are not using Bootstrap.  You won’t get the form to look exactly like the example, but you will get a good idea of what you can do for customizing form elements.

As bonus, we’ll add a little twist to filter the login button as well, using the bootstrap button styles.  That’s what makes that pretty blue button. Continue Reading →

Sidebar login filter advanced example

Chad Butler · Mar 22, 2012 ·

This is an advance example of the sidebar login filter wpmem_sidebar_status.  This sample code will take the generated sidebar login status and completely replace it with the user’s avatar, a welcome message using first and last name, and a different logout message.Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 5
  • Page 6
  • Page 7

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