A WordPress plugin that protect a part of your blog posts (maybe links, images or texts), that only registered and logged in members can see it. Simply put your content to be hidden with [hidepost] and [/hidepost].
If you want to protect your post to some user with low level, you can use [hidepost=level][/hidepost]. User level can be found on Codex page.
- The content still display after I put [hidepost] and [/hidepost]
Double check your tag, it must be [hidepost] and [/hidepost], I tested it and it work perfectly. If you think its a bug, feel free to drop me a email or comment on plugin’s page.
- Hard to Custom text…
Goto Option -> Hidepost, and change Show Text to whatever you want. Note that %login% is the link to login page, and %register% is the link to register page. You should leave this unless you know what you are doing.
- Using the previous version?
If your version less than 2.2 and you are using the [protect] tag, you must change all your tag to [hidepost] and upgrade to lastest version to have many new feature.
- The text “Please login or register not display” but the content still be hidden
Go to Option page and uncheck “Hide the text”.
Change and to [hidepost] and [/hidepost].
Some code and typos fixed.
Remade the code for the new feature and future use.
Fixed a bug with two or more protect tag
Fixed a bug with close tag ([/hidepost]) before open tag ([hidepost]).
Added a Option page
The Protect Tag and Show text is now customable.
Minor bugs fixed.
Some tooltips added.
Added Protect link.
Added hide post with user level.
User now has the right to disable HidePost without Deactive it.
Added option to allow bot like Google can view hidden content
Added a function to replace old tag with new tag
Some bug fixed
Fixed some wrong XHTML code
Protected text with User level is now customable
Removed allow bot
More compatible with WP2.5
Redirect user to previous page when click on login link
Fixed error with exceprt and wrong user level.
Some changes in option page
Add quick button to add Hidepost’s tag in TinyMCE editor
Fixed bug with RSS and Readmore link
Added a template call