saving data entered into a Metabox into an array? for use with for/each output.
You can use what you have with slight modification. Just increase the height of the meta box and let your users enter an item on each line. Embed $recipe_embed = get_post_meta( $post->ID, “recipe_embed”, true ); if ( ! empty( $recipe_embed ) ): ?> <div style=”background: green;”> <?php // normalize returns $recipe_embed = str_replace( “\n”, “\r”, … Read more