get_title(); $this->get_image(); ?>
get_description(); ?> get_field( esc_html__( 'Type', 'rank-math' ), 'recipeCategory' ); ?> get_field( esc_html__( 'Cuisine', 'rank-math' ), 'recipeCuisine' ); ?> get_field( esc_html__( 'Keywords', 'rank-math' ), 'keywords' ); ?> get_field( esc_html__( 'Recipe Yield', 'rank-math' ), 'recipeYield' ); ?> get_field( esc_html__( 'Calories', 'rank-math' ), 'nutrition.calories' ); ?> get_field( esc_html__( 'Preparation Time', 'rank-math' ), 'prepTime' ); ?> get_field( esc_html__( 'Cooking Time', 'rank-math' ), 'cookTime' ); ?> get_field( esc_html__( 'Total Time', 'rank-math' ), 'totalTime' ); ?> get_field( esc_html__( 'Recipe Video Name', 'rank-math' ), 'video.name' ); ?> get_field( esc_html__( 'Recipe Video Description', 'rank-math' ), 'video.description' ); ?> get_field( esc_html__( 'Recipe Video Thumbnail', 'rank-math' ), 'video.thumbnailUrl' ); ?> schema['video'] ) ) { if ( ! empty( $this->schema['video']['embedUrl'] ) ) { echo do_shortcode( $wp_embed->autoembed( $this->schema['video']['embedUrl'] ) ); } elseif ( ! empty( $this->schema['video']['contentUrl'] ) ) { echo do_shortcode( $wp_embed->autoembed( $this->schema['video']['contentUrl'] ) ); } } ?> get_field_value( 'recipeIngredient' ); $this->output_field( esc_html__( 'Recipe Ingredients', 'rank-math' ), '' ); ?> get_field_value( 'recipeInstructions' ); if ( is_string( $instructions ) ) { $this->get_field( esc_html__( 'Recipe Instructions', 'rank-math' ), 'recipeInstructions' ); } else { // HowTo Array. if ( isset( $instructions[0]['@type'] ) && 'HowtoStep' === $instructions[0]['@type'] ) { $instructions = wp_list_pluck( $instructions, 'text' ); $this->output_field( esc_html__( 'Recipe Instructions', 'rank-math' ), '' ); } // Single HowToSection data. if ( ! empty( $instructions['itemListElement'] ) ) { $this->output_field( esc_html__( 'Recipe Instructions', 'rank-math' ), '' ); $this->output_field( $instructions['name'], '' ); } // Multiple HowToSection data. if ( isset( $instructions[0]['@type'] ) && 'HowToSection' === $instructions[0]['@type'] ) { $this->output_field( esc_html__( 'Recipe Instructions', 'rank-math' ), '' ); foreach ( $instructions as $section ) { if ( empty( $section['itemListElement'] ) ) { continue; } $this->output_field( $section['name'], '' ); } } } ?> show_ratings(); ?>