function maera_recipes_recipe_excerpt($excerpt) { global $post; if ('recipe' != $post->post_type) { return $content; } maera_recipes_get_template_part('content-recipe-excerpt'); }
?> <?php } ?> <?php maera_recipes_get_template_part('recipe-ingredients'); ?> <?php } ?> </div> </div> <div class="recipe-content"> <?php maera_recipes_get_template_part('recipe-directions'); ?> <?php if (maera_recipes_get_option('allow_frontend_editor')) { ?> <?php maera_recipes_get_template_part('recipe-edit'); ?> <?php } ?> </div> </div>
<div class="recipe-excerpt"> <div class="alignleft"> <?php if (has_post_thumbnail()) { ?> <?php the_post_thumbnail('thumbnail'); ?> <?php } ?> </div> <div class="alignleft"> <?php maera_recipes_get_template_part('recipe-description'); ?> </div> </div>