Title: Optional Content
Author: kylegetson
Published: <strong>مارچ 15, 2010</strong>
Last modified: جُون 13, 2011

---

پلگ انز ئے شوھاز کن

اے پلگ ان **hasn’t گوں ورڈپریس ءِ نوکیں 3 مزنیں ریلیزاں** آزمائش کنگ بوتگ۔ اے دگہ
برجاہ دارگ یا حمایت نہ کنگ بیت ءُ ورڈپریس ءِ نوکیں ورژنانی گوں کارمرز کنگ ءِ وھد
ءَ مطابقت ءِ جیڑھ بوت کنت۔

![](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://bcc.wordpress.org/plugins/optional-content/#description)
 * [جائزہ](https://bcc.wordpress.org/plugins/optional-content/#reviews)
 *  [انسٹالیشن](https://bcc.wordpress.org/plugins/optional-content/#installation)
 * [دیمروی](https://bcc.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.

## جُست ءُ پُرس

  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/) ءَ بچار اِت،
یا [دیمروئی ءِ لاگ](https://plugins.trac.wordpress.org/log/optional-content/) ءَ
[RSS](https://plugins.trac.wordpress.org/log/optional-content/?limit=100&mode=stop_on_copy&format=rss)
ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔

## چینج لاگ

#### 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

## میٹا

 *  ورژن **1.1**
 *  گڈی رند ءَ نوک کنگ بوتگ **15 سال پیشا**
 *  فعالیں تنصیبات **40+**
 *  ورڈپریس ورژن ** 2.8.0 یا گیشتر **
 *  **3.1.4** ءَ داں آزمائش کنگ بوتگ۔
 *  زبان
 * [English (US)](https://wordpress.org/plugins/optional-content/)
 * ٹیگ
 * [conditional content](https://bcc.wordpress.org/plugins/tags/conditional-content/)
   [if](https://bcc.wordpress.org/plugins/tags/if/)[php](https://bcc.wordpress.org/plugins/tags/php/)
 *  [دیمروئی کتگیں ندارگ](https://bcc.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)

[تئی جائزہ](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/)