內容簡介
此外掛可讓您透過 mediamask.io 自動產生文章、頁面等的開放式圖像。
透過 API 和整合,Mediamask 可以根據預定義模板來呈現自訂圖像。
此外掛可輕鬆設置自動產生的自訂開放式圖像,無需編碼!
新增 API 金鑰
在 mediamask.io 註冊帳戶並確認你的電子郵件地址。
前往 API 金鑰 區域,為您的 WordPress 實例創建一個新的 API 金鑰。
複製 API 金鑰,並將其粘貼到 Mediamask 外掛設置的「API Token」部分,然後保存。
配置模板
要在外掛中配置模板,您需要先在 mediamask 上添加它。
您可以選擇現有模板之一,或從頭開始創建新模板。
請確保在創建模板時啟用了「REST API」和「Signed URL API」(這些是預設選項,所以不需擔心)。
創建模板後,您可以在 mediamask 外掛中選擇它。
每個動態層(文本和圖像)都可以配置為填充 WordPress 屬性,例如 the_title()、the_excerpt()、the_author() 等。
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows you to automatically generate open graph images for posts, pages etc. via mediamask.io
Mediamask allows rendering of custom images via predefined templates via APIs and integrations.
This plugin makes it easy to setup automatically generated custom open graph images, no coding required!
Add API Key
Register an account at mediamask.io and confirm your e-mail address.
Head to the API Keys Area and create a new API Key for your WordPress instance.
Copy the API Key, paste and save it into the “API Token” Section of the Mediamask Plugin Settings
Configure Template
To configure a template in the plugin you need to add it on mediamask first.
You can either choose one of the existing templates or create a new one from scratch.
Make sure the Template has “REST API” and “Signed URL API” enabled when you create it (those are the default options, so don’t worry).
After creating the template, you can select it in the mediamask plugin.
Every Dynamic Layer (texts and images) can be configured to be filled with WordPress Attributes like the_title(), the_excerpt(), the_author() etc.
