| 1 |
<?php |
| 2 |
/** |
| 3 |
* Recipe description block schema template. |
| 4 |
* |
| 5 |
* @package Yoast\WP\SEO\Schema_Templates |
| 6 |
*/ |
| 7 |
|
| 8 |
use Yoast\WP\SEO\Schema_Templates\Assets\Icons; |
| 9 |
|
| 10 |
// phpcs:disable WordPress.Security.EscapeOutput -- Reason: The Icons contains safe svg. |
| 11 |
?> |
| 12 |
{{block name="yoast/recipe-description" title="<?php esc_attr_e( 'Recipe description', 'wordpress-seo' ); ?>" category="yoast-structured-data-blocks" description="<?php esc_attr_e( 'A description of the recipe.', 'wordpress-seo' ); ?>" icon="<?php echo Icons::heroicons_document_text(); ?>" supports={"multiple": false} }} |
| 13 |
<div class="yoast-recipe-block__description {{class-name}}"> |
| 14 |
{{rich-text name="description" required=true tag="p" keepPlaceholderOnFocus=true placeholder="<?php esc_attr_e( 'Enter a recipe description', 'wordpress-seo' ); ?>"}} |
| 15 |
</div> |
| 16 |
|