Buy Now
Sign in

variable inside shortcode

ieraora , September 19 2021, 14:36
I
ieraora 161
September 19 2021, 14:36 #397101
Sorry, I looked this in forum without success.
In this shortcode
{var:array_test_1.0.favouriteFruit}
how can I add a variable instead the number 0 ??
Thank You for your reply.
GreyHead 65
September 20 2021, 08:35 #397102
Hi ieraora,
It might be possible to use another short code there - I've never tried that. Otherwise I think that you would need to use PHP to extract the values you need.
Bob
If you'd like to buy me a coffee or two, thank you very much
I
ieraora 161
September 20 2021, 08:41 #397103
Ok, Thank you.