Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Output Custom Field in Div Class Reply To: Output Custom Field in Div Class

#5284
Tom
Keymaster

You’d have to set up multiple variables.

So instead of:

$meta = get_post_meta( get_the_ID(), '_custom_meta_key_name_here', true );

You’d do:

$meta = get_post_meta( get_the_ID(), '_custom_meta_key_name_here', true );
$another_meta = get_post_meta( get_the_ID(), '_another_custom_meta_key_name_here', true );
$one_more = get_post_meta( get_the_ID(), '_one_more_custom_meta_key_name_here', true );