diff --git a/functions.php b/functions.php index c1e80bb..9090c53 100644 --- a/functions.php +++ b/functions.php @@ -553,11 +553,17 @@ function display_rich_snippet($content) { { if($args_recipe['recipe_name'] != "") $recipe .= '
'.esc_attr( stripslashes( $args_recipe['recipe_name'] ) ).'
'; + $recipe .= '
'.esc_attr( $recipes_name ).'
- - -
'; + + $arr_recipes_ingredient = explode(',',$recipes_ingredient); + foreach ($arr_recipes_ingredient as $ingredient) { + $recipe .= ''; + } + + $recipe .= '
'; diff --git a/meta-boxes.php b/meta-boxes.php index ab2a163..ed206e1 100644 --- a/meta-boxes.php +++ b/meta-boxes.php @@ -474,7 +474,7 @@ function bsf_metaboxes( array $meta_boxes ) { ), array( 'name' => __('Ingredients','rich-snippets'), - 'desc' => __('Enter the ingredients used','rich-snippets'), + 'desc' => __('Enter ingredients used separated by commas (ingredient 1, ingredient 2, etc)','rich-snippets'), 'id' => $prefix . 'recipes_ingredient', 'class' => 'recipes', 'type' => 'text_medium',