• 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

Block Posts After a Set Number of Page Views

Chad Butler · Jun 7, 2014 ·

On occasion, the question of how to only prompt to login after a specific number of page views or an amount of time has passed. While there is no real fool proof way to implement this type of process, there are some ways you can implement it if this is right for you.

This demonstration will focus on requiring a user to login on blocked content after a set number of pages have been viewed on the site.  Continue Reading →

Restrict content by user level

Chad Butler · May 16, 2014 ·

I have written code snippets before on how to restrict content by user level, but that particular code snippet is based on using categories as the user levels, with higher level users still being able to access lower level content. For example, Silver, Gold, and Platinum level users having access or not to categories of the same name.

But what if you have content that you need to block by level that is not necessarily in a category?  Or what if you are using pages that need the same level of restriction.

Here is a code snippet that will allow you to assign a “level” to any content – post or page, and then assign a user level for the users.  This example provides a working code snippet for applying a series of progressive levels (higher level users have access to lower level content).  The example begins with three generically named levels, these can be renamed and expanded or contracted as needed.Continue Reading →

How to restrict categories to a defined user group

Chad Butler · Apr 26, 2014 ·

This concept is similar to the process outlined in How to add multiple user levels by category. However, the difference here is that we will restrict each category to a specific group (or level), but those users will not have access to the other categories.

In the other example, higher level users have access to lower level categories. In this example, each category is restricted to that specific group of users. Continue Reading →

Integrating Really Simple CAPTCHA

Chad Butler · Apr 25, 2014 ·

Really Simple CAPTCHA can be used with the WP-Members plugin in place of the default reCAPTCHA.

Note: This method of adding Really Simple CAPTCHA is no longer necessary as it is now supported directly within the plugin. Install and activate the Really Simple CAPTCHA plugin, enable it in the WP-Members options, and customize using the settings in the CAPTCHA tab. I am leaving this post active, however, as the code may be useful for developers that want more exact control over the Really Simple CAPTCHA display.

Continue Reading →

What is the “more” tag?

Chad Butler · Apr 25, 2014 ·

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

 

What is the “more” tag?

A significant amount of content regarding WP-Members setup involves something called the “more” tag.  This tag, which has been around since the beginning of WordPress, essentially does the job of creating an excerpt out of the content.

But what does it look like and how do you use it?Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 49
  • Page 50
  • Page 51
  • Page 52
  • Page 53
  • 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