=== Tasty Recipes === Contributors: wptasty, danielbachhuber Tags: food blogging, recipes Requires at least: 4.6 Tested up to: 5.8 Requires PHP: 5.6 Stable tag: 3.4.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tasty Recipes is the easiest way to publish recipes on your WordPress blog. == Description == Tasty Recipes makes it possible for anyone to publish their favorite recipes to the world. Your recipes will automatically be optimized for search engines and match your theme's design. = Optimized for humans and machines = In the WordPress editor, embed a recipe into your post, page or custom post type by using the "Add Recipe" button. When the recipe is inserted into the content, you'll see a preview of the rendered recipe so you know exactly what it's going to look like when published. On the frontend of your website, your published recipe uses standard markup to fit in naturally with the design of your theme. Readers can click the "Print" button to open a version of the recipe formatted specifically for print. = Schema.org microdata and JSON+LD = Tasty Recipes automatically includes Schema.org microdata and JSON+LD to make it easy for Google and other search engines to read your recipes. When entering in your recipe's ingredients or instructions, make sure to create an ordered or unordered list. The list will signal to Tasty Recipes that these items should be marked up with Schema.org microdata and JSON+LD. = Pain-free switching from EasyRecipe = EasyRecipe user? Tasty Recipes can fully convert your existing EasyRecipe recipes into the Tasty Recipes format. First, perform a couple of test conversions on existing posts. If your posts support revisions, Tasty Recipes creates new revisions so you can safely roll back to the EasyRecipe markup. Once you've verified your recipes convert as expected, use the batch conversion tool in "Settings" -> "Tasty Recipes" to migrate any remaining existing EasyRecipe recipes. == Installation == The Tasty Recipes plugin can be installed much like any other WordPress plugin. 1. Upload the plugin ZIP archive file via "Plugins" -> "Add New" in the WordPress admin, or extract the files and upload them via FTP. 2. Activate the Tasty Recipes plugin through the "Plugins" list in the WordPress admin. With Tasty Recipes, there aren't any confusing settings to configure or customizations you need to worry about. You can now share your favorite recipes with the world! == Changelog == = 3.4.0 (August 30, 2021) = * Adds unit conversion support to all recipe card templates. * Adds button support to all recipe card templates. * Adds support for displaying Nutrifox data directly in the recipe card, instead of as a label. * Persists the original fraction type (vulgar vs. standard) when using unit conversion UX. * Adds settings and per-recipe controls for enabling/disabling scaling. * Adds per-recipe control for enabling/disabling unit conversion. = 3.3.1 (August 3, 2021) = * Includes ratings data in the Create conversion process. * Enhances Thrive theme compatibility. * Properly format amounts as fractions when only unit conversion is used. * Avoids appending the unit for the second quantity. * Ensures the secondary color applies to the background color on the Modern Compact card. = 3.3.0 (June 4, 2021) = * Adds US customary to metric conversion. * Adds recipe converter for Mediavine Create. * Fixes editing and the print button when a Tasty Recipe block is nested in a parent block. * Saves the Tasty Recipes rating when Mediavine Trellis submits a comment. * Hides the print button in the editor. = 3.2.3 (May 12, 2021) = * Adds an `id` attribute to the tasty-recipe-video-embed element. = 3.2.2 (April 1, 2021) = * Fixes issue where changes to prep time could be lost when clicking '+ Time' to add an additional time. * Hides the copy icon for print view. * Adds toolbar buttons for Creating and Editing in the block editor. * Fixes deprecation notice for `wp.serverSideRender`. = 3.2.1 (March 29, 2021) = * Improves the WP Recipe Maker converter to process times as '2 hours 5 minutes' instead of '165 minutes'. = 3.2.0 (March 22, 2021) = * Adds an Elementor widget. * Adds basic Thrive Architect compatibility by enabling 'Add Recipe' button in WordPress Content Module. * Adds 'Additional Time' feature. = 3.1.1 (February 18, 2021) = * Fixes placement of clipboard copy success message on Modern Compact. = 3.1.0 (February 17, 2021) = * Adds card button settings, with Slickstream and Grow, for the Bold and Fresh templates. * Adds an Outline star rating style, configurable in the Customizer. * Adds copy to clipboard feature. * Makes sure the recipe card thumbnail always appears with Jetpack. * Makes Quick Links available as a shortcode: `[tasty-recipes-quick-links]`. * Moves the jump target to above the recipe card. * Enables the TinyMCE 'removeformat' button to make it easy to remove formatting. * Ensures Quick Links only render on blog posts, not the homepage or archives. = 3.0.2 (December 18, 2020) = * Ensures our 'Pin' button works when Tasty Pins is active. * Adds support for migrating old WPRM data. = 3.0.1 (November 30, 2020) = * Introduces a `tasty_recipes_updated_recipe_rating` action which fires when a recipe's rating is updated. * Fixes issue where a backslash would be added to a recipe card social description with apostrophes. * Ensures rating stars appear when the comment form doesn't have a `.comment-form` class. * Ensures 'Jump To Recipe' quick links don't render for excerpts. * Ensures paragraph tags are removed from the schema description. * Minifies SVG sprite and CSS when printing with recipe card. * Adds a `title=""` attribute to the Nutrifox iframe. * Supports another Mediavine endpoint. = 3.0.0 (November 3, 2020) = * Adds a recipe card template customizer to the settings page. * Various recipe card design cleanup. * Switches print template to use `noindex, follow`. * Has the 'Pin' button open a bookmarklet popup. * Allows Convert Recipe notices to be dismissed. * Allows the print URL to be modified with the `tasty_recipes_print_url` filter. = 2.8.2 (August 26, 2020) = * Fixes the regex matching Tasty Recipes shortcodes to not pick up others (i.e. pagebuilders). * Processes `` elements as the Guided Recipe 'name' too. * Ensures 'Total Time' field is empty until it's actually used. * Display Bold and Fresh recipe card icons from one SVG sprite. = 2.8.1 (July 28, 2020) = * Only `wp_enqueue_media()` in Manage Posts to avoid breaking block editor. = 2.8.0 (July 22, 2020) = * Adds an 'Edit Tasty Recipe' button to Quick Edit. * Guided Recipes: Generates unique URLs for each recipe instruction step. * Guided Recipes: Generates recipe instruction step 'name' field based on bolded text. * When Yoast SEO is active, filters Yoast's `` on print to avoid duplicate tags. * Adds `rel="noreferrer noopener"` to Instagram footer link. * Fixes print view for non-food Tasty Recipe blocks. * Applies the print endpoint at the right spot for permalinks w/ query args. * Hides SVGs from screen readers. * Updates recipe card images to avoid stretching. * Updates the EDD Updater to v1.7.1. = 2.7.1 (June 2, 2020) = * Fixes `` placement for Default, Elegant, and Simple recipe cards. = 2.7.0 (May 26, 2020) = * Improves Yoast SEO integration to nest Recipe under the Article schema. * Accessibility and markup improvements to the video on/off toggle. * Disables the force pin image feature by default; can be re-enabled with the `tasty_recipes_force_pin_image_url` filter. * Styling tweaks to the Bold card. * Allows users to add custom nutrition attributes with the `tasty_recipes_nutrition_attributes` filter. * Adds a class to the recipe title for improved compatibility with Feast advanced jump to links. * Adds a TTL to YouTube and Vimeo oEmbed data so it refreshes every seven days. * Supports scaling ingredients with grams. * Uses SVGs throughout Bold and Fresh templates. * Uses the localized version of the Diet when displaying on the frontend. * Adds alt text to the Tasty Recipes logo. * Splits `recipeYield` schema value into an array when it's not numeric to address Google warning. = 2.6.1 (May 20, 2020) = * Uses the player page URL as the `contentUrl` for YT and Vimeo to avoid Google Rich Snippet error. = 2.6.0 (March 4, 2020) = * Adds support for adding videos to recipe instructions (with player controls, JSON+LD schema integration, and and on/off switch on the frontend). * Also parses images within recipe instructions, to include in JSON+LD schema. * Adds a 'Diet' field to recipes and renders in the card. * Introduces `tasty_recipes_only_recipe_in_yoast_schema` filter to disable the article schema when a recipe schema is present. * Introduces `tasty_recipes_human_time_formats` filter for modifying the formats used for displaying cooking, prep, and total time. * Includes a 'large' image size in the 'Pin Recipe' share URL so that the recipe is shared with an image even when images are no-pinned on the post. * Updates WPUR converter to handle shortcodes inside the shortcode block. * Fixes issue where negative ratings could appear in JSON+LD schema. * Updates EDD updater to v1.6.19. = 2.5.2 (January 27, 2020) = * Fixes print page compatibility issue with Beaver Builder. = 2.5.1 (January 21, 2020) = * Fixes print page compatibility issue with Genesis. = 2.5.0 (November 4, 2019) = * Enriches YouTube video schema with with description, duration, and upload date. * Includes seconds in video schema durations. * Improves Nutrifox embedding methodology to make the nutrition card load faster. * Adds rel="canonical" to the print template. * Fixes an issue where recipe scaling didn't work on sites that minified their frontend code. = 2.4.0 (October 1, 2019) = * Correctly displays Nutrifox labels in the block editor. * Removes 'nofollow' from print template robots tag. * Only adds trailing slash to print permalink when enabled for site to avoid unexpected redirect. * Fixes scaling for an ingredient with a number immediately next to a vulgar fraction. * Fixes incorrect counting for unordered lists within ordered lists in the Fresh and Bold templates. = 2.3.1 (July 30, 2019) = * Fixes "Jump To" button priority so it appears below all other added items. * Properly supports the 'Additional CSS class' feature in the block editor. * Fixes parsing the description from the AdThrive shortcode. * Fixes duplicate `
` displayed in Fresh card. = 2.3.0 (May 8, 2019) = * Integrates JSON+LD with Yoast SEO when Yoast is active. * Adds a few integration points for Tasty Links equipment support. * Ignores empty WPRM blocks when identifying posts to convert. * Updates Cookbook converter to also convert shortcode instances. * Fixes JavaScript error experienced post-conversion. = 2.2.0 (April 10, 2019) = * Introduces 'Default Author Link' with a per-recipe override. * Makes a few improvements to the ingredient scaling algorithm. * Refactors instruction schema generation to use 'HowToSection' and 'HowToStep' types. = 2.1.0 (March 11, 2019) = * Introduces ingredient scaling to recipes; can be disabled with `tasty_recipes_scalable` filter. * Allow recipes to be converted individually within the block editor. * Removes the inline metadata for nutrition markup in the Bold card. * Updates WP Recipe Maker converter to support WPRM blocks. * Updates Zip Recipe converter to support ZR blocks. * Casts JSON+LD rating as strings to avoid PHP 7.1 `json_encode()` bug. * Appends PHP and plugin version to EDD update requests. = 2.0.0 (January 15, 2019) = * Updates Block Editor (Gutenberg) integration for Tasty Links compatibility. * Ignores nutrition fields in WPRM converter when no calories are present. * Correctly parses ingredients and instructions with multiple `
  • ` on the same line. * Fixes PHP notice when 'external_plugins' isn't yet set in TinyMCE configuration. = 1.9.1 (December 11, 2018) = * Fixes issue where Tasty Recipe couldn't be edited in Gutenberg after the page had reloaded. = 1.9.0 (December 3, 2018) = * Script dependency updates for Gutenberg 4.5.0 compatibility. * Auto-fills default recipe title in Gutenberg. * Adds option to disable the Google JSON LD markup for a non-food recipe in Gutenberg. * Introduces `tasty_recipes_limit_schema_reviews` filter for limiting the number of reviews in Google JSON LD markup. * In Google JSON LD markup, if no author is set for the recipe, the post author is used instead. * Adds 'fitvidsignore' to responsive video iframes by default. * Fixes floats in Modern Compact stylesheet. = 1.8.1 (October 11, 2018) = * Limits 'Jump to Recipe' and 'Print Recipe' to only display on single post views; introduces `tasty_recipes_should_prepend_jump_to` filter for more granular control. = 1.8.0 (October 8, 2018) = * Adds Tasty Recipes affiliate functionality which automatically adds UI below the recipe card. * Introduces 'Jump to Recipe' and 'Print Recipe' buttons which can be enabled from backend. * Processes comment and non-comment ratings from Zip Recipes Pro. * Removes license nag from Post editor because of layout conflicts. * Fixes fatal error when using Tasty Recipes Gutenberg block. = 1.7.0 (September 5, 2018) = * Includes reviews in Google JSON LD markup. * Includes post publish date as `datePublished` in Google JSON LD markup. * Switches from type 'Thing' to type 'Person' in Google JSON LD markup author attribute. * Supports a `disable-json-ld` shortcode flag for disabling JSON LD (e.g. non-food recipe posts). * Displays Cookbook, Simple Recipe Pro, and WP Recipe Maker comment ratings when they exist. * Also matches single quotes when processing `