Tag: wpmem_block
-
Blocking Custom Post Types
Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types. This is a new method of blocking custom post types. There are two main differences over the method described here and the original method. First, this method is a little…
-
Block Posts After a Set Number of Page Views
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…
-
Automatically block child pages
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…
-
Working with Templates: a Basic Example
This will be the first in what I hope to be a series of posts on adding WP-Members elements directly to your theme templates (or custom templates). Being able to customize you theme at the template level will give you an additional layer of customization that will allow you to do almost anything with the…