该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Wp NonRegContent

描述

Use this to display a short synopsis to readers who are not logged in and logged in readers see the entire article minus the synopsis. To display content for non logged in readers, text situated between the [r] and [/] will be displayed. To display content for logged in readers, text situated between the [n] and [] will be shown. This plugin allows you to hide portions of the post from both logged in and not logged in readers. You can edit the single.php page to include a reminder that to read the entire post, you must login and/or register. This plug-in is based on UCanHide by Jeremy Poulain (http://betablog.free.fr) which was based on Hidethis by Mark Edwards (http://www.edwards.org/tags/Wordpress).

Version History

Version 1.0

  • First and only release
  • You can edit as you please

安装

  1. Copy Wp_nonregcontent.php into your WordPress plugins folder, normally located
    in /wp-content/plugins/

常见问题

To hide text from non-logged in readers, place text between the two tags [n] []. Text between [r] & [/] will be displayed.

To hide text from logged in readers, place text between the two tags [r] [/]. Text between [n] & [] will be displayed.

Example post:
[r]
Synopsis only non logged in readers can see.
[/]
[n]
Entire article only logged in readers can see.
[]

评价

此插件暂无评价。

贡献者及开发者

“Wp NonRegContent” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Wp NonRegContent”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志