Hi everyone - I have still not got the hang of reading out of an array.
I have an array called "key_topic_1".
If I use the folowing shortcode, it displays the entire array, including headings:
[rwmb_meta meta_key="key_topic_1"]
The array has elements "topic, obj1, obj2, ..."
I want to use a shortcode to access the value of one specific element.
Could the shortcode be modified to work like this?
[rwmb_meta meta_key="key_topic_1.topic"]
[rwmb_meta meta_key="key_topic_1.obj1"]
Thanks in advance for any help.
Stephen.
PS: here is the array code from Meta Box Builder:
array (
'id' => 'key_topic_1',
'type' => 'fieldset_text',
'name' => 'Key Topic 1',
'desc' => 'Key Topic 1 and related Learning Objectives',
'rows' => 2,
'options' => array (
'topic' => 'Topic',
'obj1' => 'Learning Objective 1',
'obj2' => 'Learning Objective 2',
'obj3' => 'Learning Objective 3',
'obj4' => 'Learning Objective 4',
'obj5' => 'Learning Objective 5',
),