示例#1
0
    ?>

		<?php 
    /** recipe_hero_after_main_loop hook
     *
     * @hooked recipe_hero_output_loop_pagination - 10
     */
    do_action('recipe_hero_after_main_loop');
    ?>

	<?php 
} else {
    ?>

		<?php 
    recipe_hero_get_template('loop/no-recipes-found.php');
    ?>

	<?php 
}
?>

	<?php 
/**
 * recipe_hero_after_main_content hook
 *
 * @hooked recipe_hero_output_content_wrapper_end - 10 (outputs closing divs for the content)
 */
do_action('recipe_hero_after_main_content');
?>
 /**
  * Output the end of the page wrapper.
  *
  * @access public
  * @return void
  */
 function recipe_hero_output_content_wrapper_end()
 {
     recipe_hero_get_template('global/wrapper-end.php');
 }
示例#3
0
文件: meta.php 项目: emzo/Recipe-Hero
?>
">
		<span class="dashicons dashicons-clock"></span> <?php 
echo $date;
?>
	</div>
	
	<div class="vcard author" itemprop="author">
		<span class="dashicons dashicons-admin-users"></span> <span class="fn"><?php 
echo the_author_posts_link();
?>
</span>
	</div>

	<?php 
recipe_hero_get_template('single/rating.php');
?>
	
	<?php 
if (get_edit_post_link()) {
    ?>
		
		<div class="edit-link">
			
			<span class="dashicons dashicons-welcome-write-blog"></span> <?php 
    edit_post_link(__('Edit Recipe', 'recipe-hero'));
    ?>
		
		</div>

	<?php 
 function recipe_hero_comments($comment, $args, $depth)
 {
     $GLOBALS['comment'] = $comment;
     recipe_hero_get_template('single/review.php', array('comment' => $comment, 'args' => $args, 'depth' => $depth));
 }
 function recipe_hero_output_loop_pagination()
 {
     recipe_hero_get_template('loop/pagination.php');
 }
 function recipe_hero_get_sidebar()
 {
     recipe_hero_get_template('global/sidebar.php');
 }