Ejemplo n.º 1
0
        </tr>
        <tr class="recipe-general-form-prep-time">
            <td class="recipe-general-form-label"><label for="recipe_prep_time"><?php 
_e('Prep Time', 'wp-ultimate-recipe');
if (in_array('recipe_prep_time', $required_fields)) {
    echo '<span class="wpurp-required">*</span>';
}
?>
</label></td>
            <td class="recipe-general-form-field">
                <input type="text" name="recipe_prep_time" id="recipe_prep_time" value="<?php 
echo esc_attr($recipe->prep_time());
?>
" />
                <input type="text" name="recipe_prep_time_text" id="recipe_prep_time_text" value="<?php 
echo esc_attr($recipe->prep_time_text());
?>
" />
                <span class="recipe-general-form-notes"> <?php 
_e('(e.g. 20 minutes, 1-2 hours, ...)', 'wp-ultimate-recipe');
?>
</span>
            </td>
        </tr>
        <tr class="recipe-general-form-cook-time">
            <td class="recipe-general-form-label"><label for="recipe_cook_time"><?php 
_e('Cook Time', 'wp-ultimate-recipe');
if (in_array('recipe_cook_time', $required_fields)) {
    echo '<span class="wpurp-required">*</span>';
}
?>