Title: Easy Digital Downloads &#8211; Additional Shortcodes
Author: Chris Klosowski
Published: <strong>25. februára 2014</strong>
Last modified: 2. novembra 2022

---

Vyhľadať plugin

![](https://ps.w.org/edd-additional-shortcodes/assets/banner-772x250.png?rev=2810458)

Tento plugin **nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress**. Už
nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri
použití s novšími verziami WordPress.

![](https://ps.w.org/edd-additional-shortcodes/assets/icon.svg?rev=2810458)

# Easy Digital Downloads – Additional Shortcodes

 Od [Chris Klosowski](https://profiles.wordpress.org/cklosows/)

[Stiahnuť](https://downloads.wordpress.org/plugin/edd-additional-shortcodes.1.4.2.zip)

 * [Podrobnosti](https://sk.wordpress.org/plugins/edd-additional-shortcodes/#description)
 * [Recenzie](https://sk.wordpress.org/plugins/edd-additional-shortcodes/#reviews)
 * [Vývoj](https://sk.wordpress.org/plugins/edd-additional-shortcodes/#developers)

 [Podpora](https://wordpress.org/support/plugin/edd-additional-shortcodes/)

## Popis

Additional Shortcoddes for Easy Digital Downloads adds powerful condional page logic
for your WordPress powered ecommerce store.

### How to use Additional Shortcodes

The shortcodes included all need opening and closing tags:

Show content if shopping cart is _not_ empty.

    ```
    [edd_cart_has_contents] Content Here [/edd_cart_has_contents]
    ```

Show content if the shopping cart _is empty_.

    ```
    [edd_cart_is_empty] Content Here [/edd_cart_is_empty]
    ```

Show the content if the cart contains specific products (supports any, all, and 
variations)

    ```
    [edd_items_in_cart ids="20"] Content Here [/edd_items_in_cart]

    [edd_items_in_cart ids="20,34,25:1"] Content Here [/edd_items_in_cart]

    [edd_items_in_cart ids="20,34,25:1" match="all"] Content Here [/edd_items_in_cart]

    [edd_items_in_cart ids="20,34,25:1" match="any"] Content Here [/edd_items_in_cart]
    ```

Show the content if the cart does _not_ contain specific products (supports any,
all, and variations)

[edd_items_not_in_cart ids=“20″]Content here[/edd_items_not_in_cart]
 [edd_items_not_in_cart
ids=“20,34,25:1″]Content Here[/edd_items_not_in_cart] [edd_items_not_in_cart ids
=“20,34,25:1″ match=“all“]Content Here[/edd_items_not_in_cart] [edd_items_not_in_cart
ids=“20,34,25:1″ match=“any“]Content Here[/edd_items_not_in_cart]

Show the content if the user has made previous purchases (will always be hidden 
if logged out)

    ```
    [edd_user_has_purchases] Content Here [/edd_user_has_purchases]
    ```

Show the content only if the user has no purchases. Includes the ‚loggedout‘ parameter
to specify if logged out users
 should be included in seeing the content. (Default
true)

    ```
    [edd_user_has_no_purchases loggedout="true"] Content Here [/edd_user_has_no_purchases]
    ```

Show the content to logged in users

    ```
    [edd_is_user_logged_in] Content Here [/edd_is_user_logged_in]
    ```

Show the content only to logged out users

    ```
    [edd_is_user_logged_out] Content Here [/edd_is_user_logged_out]
    ```

Show content only if a user has purchased any of the specified download ids.
 Supports
multiple IDs. If a download has variable pricing, you can pass just the ID for all
options, or `<download id>`:`<price id>` for a specific variable pricing option.

    ```
    [edd_user_has_purchased ids="20,34,25:1"] Content Here [/edd_user_has_purchased]
    ```

**[Software Licensing Support](https://easydigitaldownloads.com/pricing#professional-pass):**

Show content only if a user has active licenses

    ```
    [edd_has_active_licenses] Content Here [/edd_has_active_licenses]
    ```

Show content only if user has expired licenses

    ```
    [edd_has_expired_licenses]Content Here[/edd_has_expired_licenses]
    ```

Show content only if user has all expired licenses

    ```
    [edd_has_all_expired_licenses]Content Here[/edd_has_all_expired_licenses]
    ```

## Recenzie

![](https://secure.gravatar.com/avatar/8445d2e450805d0983e6d1ebe6bb5e5214c8924fc6c1453a63728db8637da492?
s=60&d=retro&r=g)

### 󠀁[Great plugin but needs to be updated](https://wordpress.org/support/topic/great-plugin-but-needs-to-be-updated-4/)󠁿

 [Manni02](https://profiles.wordpress.org/manni02/) 19. marca 2025

This is an excellent plugin, lightweight, that includes useful conditional shortcodes.
I'm taking one star off because the plugin hasn't been updated in years, so compatibility
hasn't been verified with recent versions of Wordpress. This also triggers a warning
in Wordfence (abandoned plugin). It would be great if the developer could check 
compatibility and update the plugin so that such warning isn't triggered (I have
requested this in a support thread here).

![](https://secure.gravatar.com/avatar/da9e373d2c81a469d540f39f9def63cda244b9336461013399d157ed6898766b?
s=60&d=retro&r=g)

### 󠀁[Please Update this plugin](https://wordpress.org/support/topic/please-update-this-plugin-34/)󠁿

 [Arga90](https://profiles.wordpress.org/mekanikekhodro/) 13. júna 2020

hi, Please update this plugin. thank you.

 [ Prečítať 2 recenzie ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/)

## Prispievatelia a vývojári

“Easy Digital Downloads – Additional Shortcodes” je softvér s otvoreným zdrojovým
kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

 *   [ Chris Klosowski ](https://profiles.wordpress.org/cklosows/)
 *   [ Easy Digital Downloads ](https://profiles.wordpress.org/easydigitaldownloads/)
 *   [ Awesome Motive ](https://profiles.wordpress.org/am/)
 *   [ Robin Cornett ](https://profiles.wordpress.org/littlerchicken/)
 *   [ zkawesome ](https://profiles.wordpress.org/zkawesome/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)

[Preložiť „Easy Digital Downloads – Additional Shortcodes“ do vašho jazyka.](https://translate.wordpress.org/projects/wp-plugins/edd-additional-shortcodes)

### Máte záujem o vývoj?

[ Prehľadávajte zdrojový kód](https://plugins.trac.wordpress.org/browser/edd-additional-shortcodes/),
preskúmajte [SVN repozitár](https://plugins.svn.wordpress.org/edd-additional-shortcodes/),
alebo sa prihláste na odber [vývojárskeho logu](https://plugins.trac.wordpress.org/log/edd-additional-shortcodes/)
cez [RSS](https://plugins.trac.wordpress.org/log/edd-additional-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Zoznam zmien

#### 1.4.2 – December 13, 2021

 * New: Added [edd_items_not_in_cart] shortcode, which will only display the content
   if the cart does not contain some or all of the specified items.
 * New: Added [edd_has_all_expired_licenses] shortcode, which will only display 
   content if all of the user’s licenses are expired.
 * Dev: Requires PHP 5.3.
 * Dev: Refactor how plugin is loaded.

#### 1.4.1 – September 2, 2021

 * Fix: Compatibility with Software Licensing 3.8.
 * Fix: Use ‚maybe_do_shortcode‘ to allow for nested shortcodes.
 * Tweak: Improve readme.txt formatting to make examples more readable.

#### 1.4 – February 24, 2017

 * NEW: Add support for Software Licensing.
 * NEW: Add support for specific items in the cart.
 * TWEAK: Remove references to extract.

#### 1.3

 * NEW: edd_is_user_logged_out shortcode

#### 1.2

 * NEW: edd_user_has_purchased shortcode

#### 1.1

 * NEW: Added edd_is_user_logged_in shortcode

#### 1.0

 * NEW: Initial Release

## Meta

 *  Verzia **1.4.2**
 *  Posledná aktualizácia **Pred 4 roky**
 *  Aktívne inštalácie **300+**
 *  Verzia WordPress ** 4.9 alebo novšia **
 *  Testované do verzie **6.1.14**
 *  Verzia PHP ** 5.3 alebo novšia **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/edd-additional-shortcodes/)
 * Značky
 * [conditional logic](https://sk.wordpress.org/plugins/tags/conditional-logic/)
   [easy digital downloads](https://sk.wordpress.org/plugins/tags/easy-digital-downloads/)
   [landing page](https://sk.wordpress.org/plugins/tags/landing-page/)[shopping cart](https://sk.wordpress.org/plugins/tags/shopping-cart/)
   [shortcodes](https://sk.wordpress.org/plugins/tags/shortcodes/)
 *  [Rozšírené zobrazenie](https://sk.wordpress.org/plugins/edd-additional-shortcodes/advanced/)

## Hodnotenia

 4.5 z 5 hviezdičiek.

 *  [  1 recenzia s 5-hviezdičkovým hodnotením     ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/?filter=5)
 *  [  1 recenzia s 4-hviezdičkovým hodnotením     ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/?filter=4)
 *  [  0 recenzií s 3-hviezdičkovým hodnotením     ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/?filter=3)
 *  [  0 recenzií s 2-hviezdičkovým hodnotením     ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/?filter=2)
 *  [  0 recenzií s 1-hviezdičkovým hodnotením     ](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/edd-additional-shortcodes/reviews/)

## Prispievatelia

 *   [ Chris Klosowski ](https://profiles.wordpress.org/cklosows/)
 *   [ Easy Digital Downloads ](https://profiles.wordpress.org/easydigitaldownloads/)
 *   [ Awesome Motive ](https://profiles.wordpress.org/am/)
 *   [ Robin Cornett ](https://profiles.wordpress.org/littlerchicken/)
 *   [ zkawesome ](https://profiles.wordpress.org/zkawesome/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)

## Podpora

Máte čo povedať? Potrebujete pomoc?

 [Zobraziť fórum podpory](https://wordpress.org/support/plugin/edd-additional-shortcodes/)