Title: Nested shortcode
Last modified: August 31, 2016

---

# Nested shortcode

 *  [dlmerriam](https://wordpress.org/support/users/dlmerriam/)
 * (@dlmerriam)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/nested-shortcode-2/)
 * I’m trying to make a page work as a general video display using a URL parameter
   with pass global=query
 * [pass global=query fields=vid]
    [if check='{VID}’] [s3vpp id='{VID}’] [else] 
   The parameter vid is empty [/if] [/pass]
 * It recognizes that the parameter is there, but it’s not getting to the shortcode.
   Is there any way to do this?
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/nested-shortcode-2/#post-7352986)
 * Could you see if the following shows the value passed?
 *     ```
       [pass global=query fields=vid]
       [if check='{VID}' empty=false]
       Passed value: {VID} <----
       [s3vpp id='{VID}']
       [else]
       The parameter vid is empty
       [/if]
       [/pass]
       ```
   
 * If that displays the value, that means it should be passed to the video shortcode.
   Are you certain the ID is correct?
 * For the [if] condition, I would put `empty=false` to catch when the _check_ parameter
   is empty.

Viewing 1 replies (of 1 total)

The topic ‘Nested shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/nested-shortcode-2/#post-7352986)
 * Status: not resolved