Title: Optional Content
Author: kylegetson
Published: <strong>15 Mars, 2010</strong>
Last modified: 13 Qershor, 2011

---

Kërkoni te shtojca

Kjo shtojcë **s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim 
të WordPress-it**. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe
mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të 
WordPress-it.

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

# Optional Content

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

[Shkarkim](https://downloads.wordpress.org/plugin/optional-content.1.1.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/optional-content/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/optional-content/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/optional-content/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/optional-content/#developers)

 [Asistencë](https://wordpress.org/support/plugin/optional-content/)

## Përshkrim

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)

## Foto ekrani

 * [[
 * The editor button
 * [[
 * The window to insert the optional content

## Instalim

 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.

## PBR

  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.

## Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

## Kontribues & Zhvillues

“Optional Content” është software me burim të hapur. Në këtë shtojcë kanë dhënë 
ndihmesë personat vijues.

Kontribues

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

[Përkthejeni “Optional Content” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/optional-content)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/optional-content/),
shkarkoni [depon SVN](https://plugins.svn.wordpress.org/optional-content/), ose 
pajtohuni përmes [RSS-je](https://plugins.trac.wordpress.org/log/optional-content/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/optional-content/).

## Regjistër ndryshimesh

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

## Të tjera

 *  Version **1.1**
 *  Përditësuar së fundi më **15 vjet më parë**
 *  Instalime aktive **40+**
 *  Version WordPress-i ** 2.8.0 ose më i madh **
 *  E provuar deri me **3.1.4**
 *  Gjuhë
 * [English (US)](https://wordpress.org/plugins/optional-content/)
 * Etiketa
 * [conditional content](https://sq.wordpress.org/plugins/tags/conditional-content/)
   [if](https://sq.wordpress.org/plugins/tags/if/)[php](https://sq.wordpress.org/plugins/tags/php/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/optional-content/advanced/)

## Vlerësime

 5 nga 5 yje të mundshëm.

 *  [  2 shqyrtime me 5 yje     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=5)
 *  [  0 shqyrtime me 4 yje     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=4)
 *  [  0 shqyrtime me 3 yje     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=3)
 *  [  0 shqyrtime me 2 yje     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=2)
 *  [  0 shqyrtime me 1 yje     ](https://wordpress.org/support/plugin/optional-content/reviews/?filter=1)

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

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/optional-content/reviews/)

## Kontribues

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

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/optional-content/)

## Dhuroni

Do të donit të përkrahnit shpënien më tej të kësaj shtojce?

 [ Dhuroni për këtë shtojcë ](http://getson.info/)