The plugin has a built-in process for adding a Terms of Service popup and that can be used in a number of different ways, or could be changed completely using some different filters. But what about adding a separate Privacy Policy in a textarea field? Or including your Terms of Service in the same way? Here is a quick tutorial with some example code snippets to get you started. Continue Reading →
filters
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 is a simple way to do that. Continue Reading →
Automatically clone theme menu location to display different menus based on login status
One of the most common questions that I receive is how to display menu items based on login status. Because there truly are several answers with multiple options, it an become a little confusing, even to more advanced users. It really boils down to how to you want to construct your site and how do you want things to work?
I have provided different methods of doing this in the past, but that was often difficult for some users because you really needed to understand how to set up a child theme and do theme customizations appropriately. That is not easily within reach of all users.
So I have put together a plugin extension to make this process more automatic. Now you can handle everything through the WP Menus admin panel. It will automatically clone any menu areas of your theme, thus providing you with the ability to serve different menus for those menu areas based on whether a user is logged in or not.
Read more about this extension here.
Site members can download this and other extensions here.
Sidebar status highlight username
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
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.