• 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

Restrict Post or Page Access to a Specific User

Chad Butler · Dec 20, 2013 ·

Every once in awhile, I get a question about restricting content (either page or post) to a specific user.  There is a limited way to do that with the wpmem_securify filter, similar to the method for blocking content by category and user level.

post_meta_with_user_dropdownThis process is actually easier than blocking by levels or categories because you only need to determine three things:

  1. Is the user logged in? If not, then it is blocked regardless.
  2. If the user is logged in, but not the specified user, it is blocked and an error message is given.
  3. If the user is logged in and is the specified user, then the content is delivered.

This example will make use of a couple of new action hooks that will allow us to add a dropdown selector of users to the WP-Members post meta box.  Continue Reading →

WP-Members 2.9 Project: wpmem_login_form function

Chad Butler · Dec 5, 2013 ·

This post documents the new wpmem_login_form function updates for the upcoming 2.9 release. This content is currently only available to premium members. If you are not currently a member, find out more here. Continue Reading →

Add a sortable date user registered column to the Users > All Users page

Chad Butler · Dec 4, 2013 ·

If you manage a site that has a lot of registrations, sometimes it is helpful to show the date the user registered as a custom column in the WordPress admin page Users > All Users.  I have shown in another post how you can add that data as well as other data to this table.

But what if you want to make it sortable so you can sort the table by the date the user registered to see what users have registered most recently?  Here is a way that you can do that.  Continue Reading →

WP-Members 2.9 Project: wpmem_inc_login, wpmem_inc_changepassword, wpmem_inc_resetpassword

Chad Butler · Dec 3, 2013 ·

This post documents the new wpmem_inc_login, wpmem_inc_changepassword, & wpmem_inc_resetpassword function updates for the upcoming 2.9 release.  This content is currently only available to premium members. If you are not currently a member, find out more here.  Continue Reading →

Adding WP-Members Columns to the User Admin Panel

Chad Butler · Nov 27, 2013 ·

 

custom_columns

With both the general plugin and the various extensions, there are several columns that you may wish to add to the User Admin Panel.  In my user panel, I like to see the date a user registered, their last login, and when their subscription expires.  These custom columns involve data that is native to WordPress (user registered), from the User Tracking Extension (last login), and the PayPal Subscription Extension (expires).

This tutorial will show you some examples that you can use, but it can be easily adapted to other custom columns you might want to add as well.
Continue Reading →

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 55
  • Page 56
  • Page 57
  • Page 58
  • Page 59
  • 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