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=touements]
Recent [each plural lower=true]
[loop]
[if metabox=touement 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 'Touement structures' but something like touement-structures
. By the way, the correct English spelling is "touament" with an "a". It's a commonly misspelled word.
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 211 تاريخ : شنبه 1 خرداد 1395 ساعت: 15:39