Brickbucki
Forum Replies Created
-
Woohoo, perfect! Thanks a lot.
Jeeehaaa, I finally got it:
[array] [-array wpcf-part_id each=true] lorem [field value] ipsum [/-array] [/array]
Thanks a lot for your help – now I can keep on doing magic with this cool plugin ??
I tried the following
[array wpcf-part_id] [field value] [/array] [array wpcf-part_id debug=true][/array] [array wpcf-part_id debug=true] [field value] [/array]
Each of them is printing the first – and only the first – number in the array (which is 3956) … without any debugging info in each case.
Just inserting
[array debug=true][/array]
results in the same infos as shown above, in the previous post of mine. I changed nothing.And yes,
user-field
doesn’t exist, dear me – I guess that’s why it’s the only command that worked with debugging … because in fact, it’s the same as simple[array debug=true][/array]
then ??Hi,
I didn’t know the keyword
value
– but still, it doesn’t work. I wrote this:[array user-field=wpcf-part_id debug=true] [field value] [/array]
… the output:
ArrayArrayArrayArrayArrayArrayArray
… and here the output:
Array ( [_thumbnail_id] => Array ( [0] => 766 ) [_edit_last] => Array ( [0] => 4 ) [_edit_lock] => Array ( [0] => 1444583759:4 ) [wpcf-anzahl-steine] => Array ( [0] => 1 ) [wpcf-part_id] => Array ( [0] => 3956 [1] => 93274 [2] => 42446 [3] => 2436 [4] => 44728 [5] => 99780 [6] => 99781 [7] => 99207 [8] => 98287 [9] => 2422 ) [_wpcf-part_id-sort-order] => Array ( [0] => a:10:{i:0;i:7780;i:1;i:7781;i:2;i:7782;i:3;i:7783;i:4;i:7784;i:5;i:7785;i:6;i:7786;i:7;i:7787;i:8;i:7788;i:9;i:7789;} ) [wpcf-min_parts] => Array ( [0] => 1 ) )
I need the part in subarray
[wpcf-part_id]
– how do I get there?