Title: Multiple values for a passed parameter
Last modified: August 24, 2016

---

# Multiple values for a passed parameter

 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [11 years ago](https://wordpress.org/support/topic/multiple-values-for-a-passed-parameter/)
 * I am getting two parameters form the URL. One of them has four possible values,
   all of which display the same content, at least for now. I want to do something
   like this:
 *     ```
       [raw]
       [pass global="_GET" fields="first,second"]
   
       [if pass="{FIRST}" value="abcd" empty="false"] 
   
       [-if pass="{SECOND}" value="3000,3410,3424,3426" empty="false"]
       <p>Some content here</p>
       [-/if]
       [/if]
       [/raw]
       ```
   
 * It appears from the docs that SECOND would evaluate to true for multiple values,
   but it does not work. I would rather not have to insert the same content four
   times.
 * Thanks for your help!
 * [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)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/multiple-values-for-a-passed-parameter/#post-6122568)
 * Hello,
 * In the newest update, I added the feature to check multiple passed values.
 * So now your code above should work as expected. Does it..? 🙂

Viewing 1 replies (of 1 total)

The topic ‘Multiple values for a passed parameter’ 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: [10 years, 12 months ago](https://wordpress.org/support/topic/multiple-values-for-a-passed-parameter/#post-6122568)
 * Status: not resolved