Exemplo n.º 1
0
" type="button" value="<?php 
        _e('Add Alternate Image', 'wp-ultimate-recipe');
        ?>
" />
                <input class="recipe_alternate_image_remove button<?php 
        if (!$recipe->alternate_image()) {
            echo ' wpurp-hide';
        }
        ?>
" type="button" value="<?php 
        _e('Remove Alternate Image', 'wp-ultimate-recipe');
        ?>
" />

                <br/><img src="<?php 
        echo $recipe->alternate_image() ? $recipe->image_url('thumbnail') : WPUltimateRecipe::get()->coreUrl . '/img/image_placeholder.png';
        ?>
" class="recipe_alternate_image" />
                <span class="recipe-general-form-notes"> <?php 
        _e('(leave blank to use featured image)', 'wp-ultimate-recipe');
        ?>
</span>
            </td>
        </tr>
        <?php 
    }
    ?>
    <?php 
}
?>
        <tr class="recipe-general-form-description">