Featured Posts

The Four Hour Body and You Like many of your Tim Ferriss fans out there, I've been very keen to try the Four Hour Body lifestyle change. I'm overweight by quite a few pounds, so I made a New Year's resolution to shed some pounds....

Read more

Improvements and Fixes to WP E-CommerceImprovements and Fixes to WP E-Commerce Like many of you, I am a user of the WP E-Commerce plug-in for Wordpress as well as a Gold Cart upgrade customer. While WP E-Commerce has many excellent features and does wonders for the Wordpress-based...

Read more

Credit cards: a lifeline for cash Hi all. It certainly has been a while since I've last posted. That's because in many ways the 4HWW concept has been shot given the urgency of making ends meet and scrambling to get whatever dollars are...

Read more

Version 0.2 of Show User Level Content Plugin Now Available Making an update to the Show User Level Content Plugin ... finally on version 0.2 This version should allow multiple hide statements in the same post. This is a test of that functionality. The first...

Read more

More on Banking... A while back I posted about business banking accounts, and asked the community what their thoughts were on the best ones for FHWW'ers. I never really did get a good response, but the post is out there,...

Read more


Follow on Tweets


New WordPress Plugin: Show User Level Content

Category : Uncategorized

UPDATE: Download is now available from the WordPress.org Plug-In site. You can now download the plug-in at the WordPress.org site!.

Like many WordPress users, I often have the need to segment my content for different user audiences. While plugins like Post Levels and Disclose Secret are good ways of hiding entire posts from users that don’t meet a certain minimum user level, I couldn’t find a good plugin that did that for parts of a post. I did manage to find a few that would hide parts of a post from unregistered users, but not one that would give you control over which user levels could see that post.

To meet that need, I created the Show User Level Content plugin. This plugin is quite simple. If you want to make a certain part of your content accessible only to users of a specific user level, enclose them with the tag where <level> is the user level. End the section you want to hide with the tag .

Sorry, you can't see this unless you are at User Level 2 or greater

will show the encapsulated content to users of level 2 or higher.

Contunue Reading