Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sample output
<?php
global $testimonial_metabox;
while( $testimonial_metabox->have_fields( 'testimonials' ) )
{
echo '<div class="';
echo $testimonial_metabox->the_field('background');
echo $testimonial_metabox->the_value();
echo '">';
echo wpautop($testimonial_metabox->get_the_value('content'));
echo $testimonial_metabox->the_value( 'name' ); echo "</br>";
echo $testimonial_metabox->the_value( 'audio' );
echo "</div>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.