Title: Metabox, row
Last modified: August 31, 2016

---

# Metabox, row

 *  Resolved [siamak2016](https://wordpress.org/support/users/siamak2016/)
 * (@siamak2016)
 * [10 years ago](https://wordpress.org/support/topic/metabox-row/)
 * Hi
    I created some Metabox with WCK Custom Fields Creator (some field as cupname,
   year, numberofteam,…) for each tournament, but i can’t find how filter tournement
   by, for exemple year>1938
 * [for type=tournements]
    Recent [each plural lower=true] [loop field=year value
   >1938] [field title-link] [/loop] [/for]
 * This code list all my tournements
    my metabox name is Tournement structures but
   i don’t see how and where to use it
 * thanks a lot
    siamak
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years ago](https://wordpress.org/support/topic/metabox-row/#post-7400430)
 * WCK fields are stored differently than “normal” custom fields, because they’re
   inside a metabox (which is an array field). For this reason, they can’t be queried
   by field value when using the [loop] shortcode. However, I think you can work
   around it by using [if].
 *     ```
       [for type=tournements]
       Recent [each plural lower=true]
       [loop]
       [if metabox=tournement field=year value=1938 compare=more]
       [field title-link]
       [/if]
       [/loop]
       [/for]
       ```
   
 * Please note the syntax for setting metabox and comparing field value.
 * Since metabox names cannot contain a space, it’s probably not ‘Tournement structures’
   but something like `tournement-structures`. By the way, the correct English spelling
   is “tournament” with an “a”. It’s a commonly misspelled word.
 *  Thread Starter [siamak2016](https://wordpress.org/support/users/siamak2016/)
 * (@siamak2016)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/metabox-row/#post-7400489)
 * Great it’s work perfectly.
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Metabox, row’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [siamak2016](https://wordpress.org/support/users/siamak2016/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/metabox-row/#post-7400489)
 * Status: resolved