Title: Optional Content
Author: kylegetson
Published: <strong>2010-يىلى 15-مارت</strong>
Last modified: 2011-يىلى 13-ئىيۇن

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/optional-content.svg)

# Optional Content

 يازغۇچى [kylegetson](https://profiles.wordpress.org/kylegetson/)

[چۈشۈر](https://downloads.wordpress.org/plugin/optional-content.1.1.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/optional-content/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/optional-content/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/optional-content/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/optional-content/#developers)

 [قوللاش](https://wordpress.org/support/plugin/optional-content/)

## چۈشەندۈرۈش

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)

## ئېكران كەسمىسى

[⌊The editor button⌉⌊The editor button⌉[

The editor button

[⌊The window to insert the optional content⌉⌊The window to insert the optional content⌉[

The window to insert the optional content

## ئورنىتىش

 1. Upload the folder `optional-content` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ›Plugins‹ menu in WordPress
 3. Use the ›[if]‹ button now on the tinyMCE WYSIWYG editor.

## FAQ

  I don’t see a new button on the editor?

Try clicking the ›show/hide kitchen sink‹ button. This will display additional buttons,
and may reveal the ›[if]‹ button. If not, clear your browser cache and try again.

  Can I do a date AND a time?

Yes, this plugin uses the PHP function strtotime(), so you can do date and time 
like ›2010-12-31 23:59:59‹ in the ›date‹ field for 12:59:59PM on Dec. 31 2010. See
the PHP documentation for strtotime() for more examples of what you can use.

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Optional Content» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە
قوشقان.

تۆھپىكار

 *   [ kylegetson ](https://profiles.wordpress.org/kylegetson/)

[«Optional Content» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/optional-content)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/optional-content/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/optional-content/) تەكشۈرۈپ ياكى 
[RSS](https://plugins.trac.wordpress.org/log/optional-content/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/optional-content/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.1

Fixed issues with selecting a user
 Added the ability for multiple users Now allows
for shortcodes inside shortcodes

#### 1.0.0

 * Plugin functional and tested by a small group of volunteers

## Meta

 *  Version **1.1**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **15 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **40+**
 *  WordPress نەشرى ** 2.8.0 ياكى يۇقىرى **
 *  **3.1.4** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/optional-content/)
 * بەلگە
 * [conditional content](https://ug.wordpress.org/plugins/tags/conditional-content/)
   [if](https://ug.wordpress.org/plugins/tags/if/)[php](https://ug.wordpress.org/plugins/tags/php/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/optional-content/advanced/)

## دەرىجە

 5/5 يۇلتۇز

 *  [  2 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=2)
 *  [  0 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/optional-content/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/optional-content/reviews/)

## تۆھپىكار

 *   [ kylegetson ](https://profiles.wordpress.org/kylegetson/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/optional-content/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](http://getson.info/)