Meta Box
Support Forum
Support › General › Can not get value from field.
Tried this from the documentation:
<?php echo rwmb_meta( 'rw_hometemp-hero-h4', $args, $post_id ); ?>
Code:
https://pastebin.com/u6jSeuxa
I have even simplified it down to this code:
https://pastebin.com/uVfHQGVc
Hi,
You're trying to get field value from a group, so please try this:
$hero = rwmb_meta( 'home__hero' ); if ( ! empty( $hero ) ) { $h4 = isset( $hero['rw_hometemp-hero-h4'] ) ? $hero['rw_hometemp-hero-h4'] : ''; echo $h4; }
Thank you very much, I meant to say this earlier but have been slammed with a project. I was able to figure it out but appreciate all the help.