HidePost plugin for Wordpress
HidePost Plugin for Wordpress
Summary
A plugin that hide a part of your blog post ( links, texts... ) that only registered and logged in user can see it. Just put your content between [hidepost][/ hidepost]
From version 2.3, you can add level to hidepost tag like [hidepost=6][/ hidepost] so that only users have their level higher than 6 can see you hidden content.
You can hide all the links in your blog to unregistered users, just go to Option page and check Protect links.
Require Wordpress 1.5 and compatible with ( it should ) 2.8.x.
Install
Download it from Wordpress's repo , if you installed it through Wordpress's plugin page, just skip step 1 and 2
- Upload the folder hidepost into /wp-content/plugins/ directory
- Active it through Plugins page
- Go to Option -> Hidepost and check Enable Hidepost
Upgrade
- Deactive Hidepost
- Upload new hidepost folder to /wp-content/plugins/ directory
- Reactive it and check the new feature in Option page
Note: If you are upgrade from version 2.2 or less, you'll need to replace your old tag ( maybe [protect] ) with the new tag ( [hidepost] )
Other Note
If you have any question, fell free to drop me an email or comment on this page.
Sorry for my bad English, I tried my best ![]()
I'll not include changelog and FAQ in this page, so if you want to read it, please go to my plugin's page in Wordpress repo.
More detail change log can be found here
Good luck and have fun using my plugin.
Donation
Donation through Paypal if you want to contribute to my works.
First comment, Old comment can be found in http://nguyenthanhcong.com/hidepost-plugin-for-wordpress/
If you have any question, just ask here
Still have another question, what feature that you want to appear in the next version
, please say it here or drop me an email
Thanks for this plugin
Really great plugin. I want to know if there is a way to the CSS of the message shown.
thanks for plugin once again
Sorry for double comment. i meant "way to change CSS"
You can add CSS tag your self in the theme template and add those tag in Hidepost's Option page
Thanks man ....
hey man when i activate the plugin without change anything all the images are not shown in posts...any help to fix it?
thanks
Hi,
Thanks for the nice plugin.
The [hidepost] feature works only if you insert it while writing or editing a post i.e within the editor.
I doesn't work when inserted in -for example- the header.php directly. Can you advice me to let it work that way, please?
Yeah, it only work with your post, and can't work in the template ( theme )
I asked (on the wrong page) "is there a way to inject a little HTML around the revealed text like a DIV with a class so that we can style it differently?" and you replied "About the "HTML" things, you can add your tag in the option page, just change the text showing." but I can't see anything there.
I can change the messages like "Please %login% or %register% to read the rest of this content." to include HTML if required but what I am looking for is for .div class=hidepost. ... ./div. to be output around the revealed text when the user *IS* logged in. Can this be done?
Arrg, never thing about it, maybe I'll add it in the next version
Ok, thanks for your time.
To my horror I discovered that everything between the hidepost tags does actually appear in the RSS Feeds of your blog!
This is very bad and should be mentioned on the plugin page (underlined and in bold!).
A fix would be welcome. Otherwise a great plugin...
You should try to logout and reload your feed, Hidepost still works fine with RSS
Unfortunately I've found a Plugin incompatibility between Hackadelic Sliding Notes (et.al) and Hidepost plugin.
I suspect its a problem with hidepost, but it needs checking out.
Hidepost selectively hides content based on user role.
It can also hide links in a post/page. However once its link hiding has been switched on, if it is later switched off, sliding notes functionality is still disabled and fails to work for logged out users only.
A bit of a show stopper!
You can see its effects in action or inaction (both phrases are meaningful)
at http://saltaire-aa.org/news/?page_id=3548
Hidepost doesn't touch anything in your post. You should try to disable Hidepost and see if Hackadelic Sliding Notes( long name...huh
) workings or not.
If it does not work, try to edit and save your post again.
I'll look at that plugin's code to see if I can do anything
I am using the plugin for pages, not posts, and for exactly the same page the text login/register is visible and works ok in IE but not in Firefox 3.0.1.
Do you know hoe to solve this? Am I doing something wrong?
Thanks
Try to clear your cookie in Firefox and see if it working or not.
It should work the same in every browsers
Sadly, hidepost doesn't seem to work with version 2.7 of wordpress (it merely appears as a part of the text). The [hide] plugin does but this doesn'y have the really nice feature of levels.
Will you be releasing an update?
Apologies - hidepost does work - it just needs enabling (Settings -> Hidepost then tick the enable box).
Regards
Julian
When I'm in the posting screen and when I click HIDEPOST icon, nothing happens. I don't get the [hidepost] tag.
I'm using 2.3.7 and wp 2.6.1
I can't get the new button on the editor to work. I expected it to be like bold and you just highlighted the section and hit the button. Is there some trick? Reading back, looks like James has the same problem.
Make sure that Javascript is enabled in your browser.
If it still don't work, could you please send me a html copy of the Posting page
@Fu4ny
javascript is on (nothing in WP would work without it). I've got the HTML, but how do I send it to you?