
內容簡介
這是一個 WordPress 外掛,可將 Bannerbear 簽名 URL 功能添加到 WordPress 網站中。
Bannerbear 是什麼?
Bannerbear 是一個 SaaS 服務,可根據您發送的動態參數和在 Bannerbear 後端設置的模板,自動生成圖像。
這個外掛是幹什麼的?
這個外掛提供了一個簡單的介面,可將 Bannerbear 簽名 URL 圖像添加到您的 WP 主題中。
Bannerbear 簽名 URL 是動態 URL,根據模板即時生成圖像。這個外掛可幫助您將 WP 變數(如標題、日期等)映射到模板上,然後將這些 URL 插入 WP 帖子和頁面中。
這個外掛的一個使用案例是自動生成開放圖像。
這個外掛適用於誰?
這個外掛需要 Bannerbear 的 Scale 或 Enterprise 帳戶,最適合代理機構管理多個客戶的 WordPress 網站或擁有大型 WordPress 網站的個人用戶。
使用方法
前置條件:創建 Bannerbear 項目(或從此範本創建)並將模板添加到您的項目中。
轉到 Bannerbear 插件。
選擇“添加新項目”,然後粘貼您的 Bannerbear 項目API 金鑰。
從模板清單中選擇一個模板。
這將自動從模板中創建並抓取帶簽名的 URL 基本地址,並列出所有可用的模板修改。
每個可 API 修改的圖層都會有一個下拉菜單,可將其映射到 WordPress 網站的字段。選擇要修改的圖層,然後選擇要應用模板/簽名 URL 的位置。
然後,您可以將其嵌入為短碼/片段,或將其添加為 WordPress 頁面中的區塊。
外掛標籤
開發者團隊
② 後台搜尋「Generate Dynamic Images – Bannerbear」→ 直接安裝(推薦)
原文外掛簡介
A WordPress plugin that adds Bannerbear Signed URL functionality to WordPress sites.
What is Bannerbear?
Bannerbear is a SaaS service that auto-generates images, based on dynamic parameters that you send, and templates you have set up on the Bannerbear back end.
What does this plugin do?
This plugin provides an easy interface to add Bannerbear Signed URL images to your WP theme.
Bannerbear Signed URLs are dynamic urls that generate images on the fly based on templates. This plugin helps you map WP variables (title, date etc) to templates, and then inserts those URLs into WP posts and pages.
One use case for this is auto-generating Open Graph images.
Who is this plugin for?
This plugin requires a Bannerbear Scale or Enterprise account and is best suited for agencies managing WordPress sites for multiple clients, or individual users with large WordPress sites.
Usage
Pre-requisite: Create a Bannerbear project and add a template (or duplicate this sample template) to your project.
Go to Bannerbear Plugin.
Select “Add New” and paste your Bannerbear Project API Key.
Select a template from your list of templates.
This will automatically create and grab a Signed URL Base from the template, and all available template modifications will be listed.
Each API modifiable layer will have a dropdown menu that can be mapped with fields from the WordPress site. Select layers that you want to modify and choose where you want to apply the template/Signed URL.
You can then embed it as a shortcode/snippet or add as a Block on WordPress pages.
