Display single value from meta key array

Hello!

I’m trying to utilize the dynamic content option to display a particular meta key value that appears to be stored in an array.

The key in question appears as this:

_sfwd-courses : a:27:{i:0;s:0:"";s:37:“sfwd-courses_course_materials_enabled”;s:0:"";s:29:“sfwd-courses_course_materials”;s:0:"";s:24:“sfwd-courses_certificate”;s:0:"";s:41:“sfwd-courses_course_disable_content_table”;s:0:"";s:35:“sfwd-courses_course_lesson_per_page”;s:0:"";s:42:“sfwd-courses_course_lesson_per_page_custom”;s:0:"";s:41:“sfwd-courses_course_topic_per_page_custom”;s:0:"";s:40:“sfwd-courses_course_lesson_order_enabled”;s:0:"";s:34:“sfwd-courses_course_lesson_orderby”;s:0:"";s:32:“sfwd-courses_course_lesson_order”;s:0:"";s:30:“sfwd-courses_course_price_type”;s:6:“paynow”;s:40:“sfwd-courses_course_prerequisite_enabled”;s:0:"";s:32:“sfwd-courses_course_prerequisite”;s:0:"";s:40:“sfwd-courses_course_prerequisite_compare”;s:3:“ANY”;s:34:“sfwd-courses_course_points_enabled”;s:0:"";s:26:“sfwd-courses_course_points”;s:0:"";s:33:“sfwd-courses_course_points_access”;s:0:"";s:26:“sfwd-courses_expire_access”;s:0:"";s:31:“sfwd-courses_expire_access_days”;i:0;s:42:“sfwd-courses_expire_access_delete_progress”;s:0:"";s:25:“sfwd-courses_course_price”;s:2:“59”;s:30:“sfwd-courses_custom_button_url”;s:0:"";s:36:“sfwd-courses_course_price_billing_p3”;s:0:"";s:36:“sfwd-courses_course_price_billing_t3”;s:0:"";s:46:“sfwd-courses_course_disable_lesson_progression”;s:0:"";s:37:“sfwd-courses_course_short_description”;s:0:"";}

When using the dynamic content option to display “_sfwd-courses” it renders as:
,paynow,ANY,0,59,

What I’m looking for specificlally is that “59” which appears to be attached to:
s:25:“sfwd-courses_course_price”;
s:2:“59”;

Any help or guidance would be greatly appreciated!

Hello Tyler,

Thanks for writing in! You can use the Post dynamic content {{dc:post:meta key="sfwd-courses_course_price"}}. To learn more about the dynamic content, kindly check this out:

Kindly let us know if this has worked out for you.

Hi Tyler,

By withdrawing the posts means that the issue was already solved on your end! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.