Esempio n. 1
0
			<?php 
}
?>

			<?php 
if ($total_time = simmer_get_the_total_time()) {
    ?>

				<li>
					<strong><?php 
    _e('Total Time', 'simmer');
    ?>
:</strong>
					<meta itemprop="totalTime" content="<?php 
    echo esc_attr(simmer_get_the_total_time(get_the_ID(), 'machine'));
    ?>
"><?php 
    echo esc_html($total_time);
    ?>
				</li>

			<?php 
}
?>

		</ul><!-- .simmer-recipe-timing -->

		<ul class="simmer-recipe-extras">

			<?php 
Esempio n. 2
0
/**
 * Print the total time of the current recipe in human-readable format.
 *
 * @since 1.0.0
 *
 * @return void
 */
function simmer_the_total_time()
{
    echo esc_html(simmer_get_the_total_time());
}