Optional Content
v1.1kylegetson · 2010年3月15日 上架
This plugin makes it easy to conditionally display content. No more if statements in your template files!
- 正在使用
- 40+
- 评分
- 5.0 / 5
- 累计下载
- 6,096
- 最近更新
- 2011年6月13日
2 条评价需要 WordPress 2.8.0+已测试到 3.1.4
贡献者
截图
This plugin allows you to show or hide content on a page or post based on a simple shortcode. You don’t need PHP knowledge, or a PHP enabling plugin. Simply use a button on the WYSIWYG editor to select under what condition you would like the content displayed. Fast, simple, and safe. Keep your template files clean by removing your PHP logic. Now allows shortcodes inside of the conditional content.
Display content based on the following conditions:
- Manual on/off setting
- Before, after, or between specific times (repeated daily)
- Before, after or between specific dates
- Based on if the visitor is logged in
- Based on a specific user (by user id) or multiple users (by user id)
- Based on GET variables (variables passed on the URL in the form of http://www.example.com/about/?test=value where the variable is ‘test’)
- Based on POST variables (variables sent via forms)
- Based on REQUEST variables (either GET or POST variables)

