I wrote a simple plugin for WordPress, what allow you to hide some information in your post or page.
Now you can hide only a section of a page / post, and you can define, what kind of users (based on users level) can read the content of hidden section.
-
Search this blog
-
Login
-
Tags
-
Categories
-
Vaso’s RSS- Fun: Bakiparádé [hun]
- Leszarom – Dislike button [hun]
- Really nice jquery plugins
- Win7 tips and tricks
- Új gépem: Fujitsu Siemens AH530
- Change the blog lanugage to: hybrid
- Our five little cats
- Restricted Area 1.0 realesed
- New site i made: http://www.kijutos-jatekok.hu/
- WP User Registration Plugin – Hungarian Translation


11 Comments
Hello, I translate your plugin to spanish, where can I send you the files?
Btw, great plugin.
Hello Vaso!
Great plugin you did. Congratulations!
But there is something not working with Restricted Area.
If you send me an email address, I can send you a link.
Thanks!
Kind regards,
Roger
Hi,
your plugin is awesome. As a French blogger on WordPress Channel, I’ll certainly make a translation of it… but I have a question about it : how can set it to display excerpt for non members instead of using the shortcode ?
Thanks for your attention !
Regards,
Aurélien Denis
Hello I really liked your plugin did the translation into Portuguese from Brasil. PT-BR …
Link below
http://www.4shared.com/file/kDH2W5It/restrictedarea-pt_BR.html?
Hi, is there a php code that I can put into source code?
Thank you,
Max.
No need to use php code. You can use shortcode..
See the plugin page:
http://vaso.sma.hu/blog/restricted-area-plugin-for-wordpress/
Add a [restrictedarea] here is the content what you do not want to show [/restrictedarea] shortcode to your post or page.
Optionally you can set the level of the allowed users with a level option like this: [restrictedarea level="6"] … [/restrictedarea]
Well, I have some content in my code that should be available only for registered users. Its a “broken report” link and I have this link on the end of every post…
thank you,
Max
I tried this:
but doesn’t work the way I need to
echo do_shortcode(‘[restrictedarea]‘);
gd_broken_report($post_id = 0, $echo = true);
echo do_shortcode(‘[/restrictedarea]‘);
eerrr…
i think it should work, because there is a preprocessor what is called with ob_start(); ob_end();
if it is doesn’t work, why don’t you define a shortcode for your function, and then you can use this:
[restrirctedarea]
[yourshortcode]
[/restrirctedarea]
thank you the translations guys.