{"id":40136,"date":"2015-11-14T01:18:32","date_gmt":"2015-11-14T01:18:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/recipe-snippets\/"},"modified":"2019-08-31T22:58:21","modified_gmt":"2019-08-31T22:58:21","slug":"recipe-snippets","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/recipe-snippets\/","author":13891601,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"5.2.24","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"SEO Recipe Snippets","header_author":"Waterloo Plugins","header_description":"","assets_banners_color":"","last_updated":"2019-08-31 22:58:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/recipe-snippets\/","header_author_uri":"http:\/\/uwaterloo\/","rating":5,"author_block_rating":0,"active_installs":40,"downloads":4239,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2149051","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2149051","resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2149051","resolution":"1","location":"plugin"}},"screenshots":{"1":"A Google search result with rich recipe snippets"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[150,6342,2998,188,186],"plugin_category":[39,55,56],"plugin_contributors":[81583],"plugin_business_model":[],"class_list":["post-40136","plugin","type-plugin","status-publish","hentry","plugin_tags-google","plugin_tags-recipe","plugin_tags-rich-snippets","plugin_tags-search-engine-optimization","plugin_tags-seo","plugin_category-business","plugin_category-seo-and-marketing","plugin_category-social-and-sharing","plugin_contributors-waterloo-plugins","plugin_committers-waterloo-plugins"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/recipe-snippets\/assets\/icon-128x128.png?rev=2149051","icon_2x":"https:\/\/ps.w.org\/recipe-snippets\/assets\/icon-256x256.png?rev=2149051","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/recipe-snippets\/trunk\/screenshot-1.png?rev=2149051","caption":"A Google search result with rich recipe snippets"}],"raw_content":"<!--section=description-->\n<p>Enables Rich Snippets for search engines. Show recipe name, rating, image, preparation time, and more on Google's search results.<\/p>\n\n<p>This plugin allows 1 recipe per post. For example, to set the preparation time of your recipe post, add the following shortcode into your post:\n    [recipe type=\"prepTime\"]1 hour and 45 minutes[\/recipe]<\/p>\n\n<p>All supported properties with examples:<\/p>\n\n<ul>\n<li>name\n\n<ul>\n<li>The name of the dish.<\/li>\n<\/ul><\/li>\n<li>image\n\n<ul>\n<li>URL of an image of the dish being prepared. <\/li>\n<\/ul><\/li>\n<li>description\n\n<ul>\n<li>A short summary describing the dish.<\/li>\n<\/ul><\/li>\n<li>rating\n\n<ul>\n<li>A numerical rating for the item.<\/li>\n<\/ul><\/li>\n<li>ratingCount\n\n<ul>\n<li>The count of total number of ratings.<\/li>\n<\/ul><\/li>\n<li>prepTime\n\n<ul>\n<li>The length of time it takes to prepare the recipe for dish.<\/li>\n<\/ul><\/li>\n<li>cookTime\n\n<ul>\n<li>The time it takes to actually cook the dish.<\/li>\n<\/ul><\/li>\n<li>totalTime\n\n<ul>\n<li>The total time it takes to prepare the cook the dish.<\/li>\n<\/ul><\/li>\n<li>yield\n\n<ul>\n<li>The quantity produced by the recipe. For example: number of people served, or number of servings.<\/li>\n<\/ul><\/li>\n<li>instructions\n\n<ul>\n<li>The steps to make the dish.<\/li>\n<\/ul><\/li>\n<li>ingredient\n\n<ul>\n<li>An ingredient used in the recipe. (can have multiples)<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>These properties will be used by search engines and other services to serve better content to your users. If you want to add a property but you don't want to display the property, you can add <code>display=\"none\"<\/code>. For example:\n    [recipe type=\"description\" display=\"none\"]You can see this on Google, but not on my blog[\/recipe]<\/p>\n\n<p>Here's an example of a fully annotated post:\n    [recipe type=\"name\"]Grandma's Holiday Apple Pie[\/recipe]\n    \n    [recipe type=\"image\" display=\"none\"]apple-pie.jpg[\/recipe]\n    Published: [recipe type=\"datePublished\"]November 5, 2009[\/recipe]\n    [recipe type=\"description\"]This is my grandmother's apple pie recipe. I like to add a dash of nutmeg.[\/recipe]<\/p>\n\n<pre><code>[recipe type=\"rating\"]4.0[\/recipe] stars based on\n[recipe type=\"ratingCount\"]35[\/recipe] reviews\n\nPrep time: [recipe type=\"prepTime\"]30 min[\/recipe]\nCook time: [recipe type=\"cookTime\"]1 hour[\/recipe]\nTotal time: [recipe type=\"totalTime\"]1 hour 30 min[\/recipe]\nYield: [recipe type=\"yield\"]1 9\" pie (8 servings)[\/recipe]\n\nIngredients:\n[recipe type=\"ingredient\"]Thinly-sliced apples: 6 cups[\/recipe]\n[recipe type=\"ingredient\"]White sugar: 3\/4 cup[\/recipe]\n...\n\nDirections:\n[recipe type=\"instructions\"]\n1. Cut and peel apples\n2. Mix sugar and cinnamon. Use additional sugar for tart apples.\n...\n[\/recipe]\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>recipe-snippet.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place shortcodes in your post<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why aren't the Rich Snippets showing up in Google's search results?<\/dt>\n<dd><p>It takes a few days to a few weeks for Google to update your site. Also, Google doesn't display Rich Snippets for all sites or all searchs. For example, if you rate every recipe 5\/5, then Google probably won't show the rating.<\/p><\/dd>\n<dt>How can I tell if Rich Snippets are set up correct?<\/dt>\n<dd><p>Enter your blog post's URL here: https:\/\/developers.google.com\/structured-data\/testing-tool\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Clearer instructions<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial<\/li>\n<\/ul>","raw_excerpt":"Show recipe snippets on Google search results.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40136"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/waterloo-plugins"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40136"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40136"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40136"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40136"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40136"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}