[WordPress] 外掛分享: SEO Recipe Snippets

首頁外掛目錄 › SEO Recipe Snippets
40+
安裝啟用
★★★★★
5/5 分(2 則評價)
2415 天前
最後更新
問題解決
WordPress 3.0+ v1.0.1 上架:2015-11-13

內容簡介

啟用搜尋引擎的豐富摘要。在 Google 的搜尋結果中顯示食譜名稱、評分、圖片、準備時間等等。

這個外掛一次只能在每篇文章中加入一個食譜。例如,若想設定食譜的準備時間,請在文章中加入以下的 shortcode:
[recipe type=”prepTime”]1 hour and 45 minutes[/recipe]

所有支援的屬性都列在下面:

name

菜餚的名稱。

image

正在製作的菜餚的圖片的網址。

description

簡短描述該菜餚。

rating

該項目的評分。

ratingCount

評分的總數量。

prepTime

製作該菜餚所需的時間長度。

cookTime

實際烹飪該菜餚所需的時間。

totalTime

製作加烹飪該菜餚所需的時間總長度。

yield

該食譜的產量數量。例如:服務人數或份數。

instructions

製作該菜餚的步驟。

ingredient

食譜中使用的食材。(可有多個)

這些屬性將被搜尋引擎和其他服務用來向用戶提供更好的內容。若想添加一個屬性但不願顯示該屬性,您可以添加 display="none"。例如:
[recipe type=”description” display=”none”]您可以在 Google 上看到它,但不能在我的博客上看到[/recipe]

以下是一個完全註釋的文章範例:
[recipe type=”name”]外婆的假日蘋果派[/recipe]

[recipe type=”image” display=”none”]apple-pie.jpg[/recipe]
發表時間:[recipe type=”datePublished”]2009 年 11 月 5 日[/recipe]
[recipe type=”description”]這是我外婆的蘋果派食譜。我喜歡加點肉荳蔻。

[recipe type="rating"]4.0[/recipe] 根據
[recipe type="ratingCount"]35[/recipe] 則評論

準備時間:[recipe type="prepTime"]30 分鐘[/recipe]
烹飪時間:[recipe type="cookTime"]1 小時[/recipe]
總時間:[recipe type="totalTime"]1 小時 30 分鐘[/recipe]
產量數量:[recipe type="yield"]1 個 9 吋派(8 份)[/recipe]

食材:
[recipe type="ingredient"]蘋果薄片:6 杯[/recipe]
[recipe type="ingredient"]白糖:3/4 杯[/recipe]
...

步驟:
[recipe type="instructions"]
1. 切割和削皮蘋果
2. 混合糖和肉桂。對於酸蘋果使用額外的糖。
...
[/recipe]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SEO Recipe Snippets」→ 直接安裝(推薦)

原文外掛簡介

Enables Rich Snippets for search engines. Show recipe name, rating, image, preparation time, and more on Google’s search results.
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:
[recipe type=”prepTime”]1 hour and 45 minutes[/recipe]
All supported properties with examples:

name

The name of the dish.

image

URL of an image of the dish being prepared.

description

A short summary describing the dish.

rating

A numerical rating for the item.

ratingCount

The count of total number of ratings.

prepTime

The length of time it takes to prepare the recipe for dish.

cookTime

The time it takes to actually cook the dish.

totalTime

The total time it takes to prepare the cook the dish.

yield

The quantity produced by the recipe. For example: number of people served, or number of servings.

instructions

The steps to make the dish.

ingredient

An ingredient used in the recipe. (can have multiples)

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 display="none". For example:
[recipe type=”description” display=”none”]You can see this on Google, but not on my blog[/recipe]
Here’s an example of a fully annotated post:
[recipe type=”name”]Grandma’s Holiday Apple Pie[/recipe]
[recipe type=”image” display=”none”]apple-pie.jpg[/recipe]
Published: [recipe type=”datePublished”]November 5, 2009[/recipe]
[recipe type=”description”]This is my grandmother’s apple pie recipe. I like to add a dash of nutmeg.[/recipe]
[recipe type="rating"]4.0[/recipe] stars based on
[recipe type="ratingCount"]35[/recipe] reviews

Prep time: [recipe type="prepTime"]30 min[/recipe]
Cook time: [recipe type="cookTime"]1 hour[/recipe]
Total time: [recipe type="totalTime"]1 hour 30 min[/recipe]
Yield: [recipe type="yield"]1 9" pie (8 servings)[/recipe]

Ingredients:
[recipe type="ingredient"]Thinly-sliced apples: 6 cups[/recipe]
[recipe type="ingredient"]White sugar: 3/4 cup[/recipe]
...

Directions:
[recipe type="instructions"]
1. Cut and peel apples
2. Mix sugar and cinnamon. Use additional sugar for tart apples.
...
[/recipe]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon