Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
December 7, 2019 at 1:20 AM in reply to: ✅Group data in custom table not printed via shortcode #17441
Neal
ParticipantHi Anh,
Thanks so much for creating the video! I see what you did there and with the small adjustments that you mentioned in the video to call the cloned fields it works like a charm!
Thanks so much for your support. This already makes it so much worth to have invested in the pro version of Meta Box.
You are the best!
December 5, 2019 at 4:47 AM in reply to: ✅Group data in custom table not printed via shortcode #17363Neal
ParticipantThanks Anh!
It is still not pulling the data in. This is what I have:
add_shortcode( 'dr_pricing', function() { $group = rwmb_meta( 'pricing_group', ['storage_type' => 'custom_table', 'table' => 'dr_workshops_page_settings'] ); if ( empty( $group ) ) { return ''; } $output = ''; // Sub-field Class. $groupclass = $group['group_class'] ?? ''; $output .= '<h3 class="my-title">' . $groupclass . '</h3>'; // Sub-field Number of Classes. $groupnumber = $group['number_of_classes'] ?? ''; $output .= '<h3 class="my-title">' . $groupnumber . '</h3>'; // Sub-field Price. $groupprice = $group['group_price'] ?? ''; $output .= '<h3 class="my-title">' . $groupprice . '</h3>'; // Sub-field No Classes. $noclass = $group['no_class'] ?? ''; $output .= '<h3 class="my-title">' . $noclass . '</h3>'; return $output; } );When I check the source code of the page I can see the HTML code: <h3 class="my-title"> </h3> but no data is pulled in, although the data is present in the database.
December 3, 2019 at 3:46 AM in reply to: ℹ️METABOXERS! Help get OxygenBuilder integration by upvoting this github issue #17300Neal
ParticipantI am using Oxygen for some projects as well. Please add Meta Box to Oxygen. Thanks!
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)