前言介紹
- 這款 WordPress 外掛「Urlbox Screenshots」是 2016-10-26 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2024-10-14,距離現在已有 201 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
urlbox |
外掛標籤
puppeteer | playwright | screenshot | url to png | screenshots |
內容簡介
🎉 輕鬆在 WordPress 網站上顯示任何網址的網頁截圖 🎉
此外掛使用 Urlbox API 生成網頁截圖並在您的網站上顯示。請注意,Urlbox API 是一個付費服務-您可以在https://urlbox.io註冊試用。
如何使用這個外掛
首先啟用插件並在設定頁面中填入您的 Urlbox.io API 金鑰和密碼。
(可選) 您可以在外掛設定頁上設置您的截圖的預設選項,例如寬度、高度和縮略圖寬度。
現在,當您想在文章或頁面中顯示截圖時,只需在短代碼區塊中使用以下內容:
[urlbox url=google.com] // 顯示 google.com 的截圖
如果您想覆蓋任何設置,只需在短代碼中傳遞選項:
[urlbox url=google.com full_page=true thumbnail_width=400] // 顯示 google.com 的全屏截圖以 400px 為寬度的縮略圖
該插件會在 元素內建立
[urlbox url=google.com figure_class=my-figure-class img_class=my-img-class ] // 更改包裝figure和img元素的CSS類
你需要什麼
WordPress
Urlbox帳戶
Your Urlbox API金鑰和密碼 (從:https://urlbox.io)
已知問題
目前沒有
原文外掛簡介
🎉 Easily display website screenshots of any URL in your WordPress site 🎉
This plugin uses the Urlbox API to generate website screenshots and display them on your site. Please note the Urlbox API is a paid service – you can sign up for a trial at https://urlbox.com.
How to use the plugin
When running WordPress locally or in a containerised environment, we recommend you use at least WordPress version 6.0 and PHP 8.0.
First activate the plugin and fill in your Urlbox.com API Key and Secret in the settings page.
(Optional) You can set default options for your screenshots such as width, height, and thumbnail width on the plugin settings page.
Now when you want to display a screenshot inside a post or page, just use the following in a Shortcode block:
[urlbox url=google.com] // display a screenshot of google.com
If you want to override any of the settings, just pass the option into the shortcode:
[urlbox url=google.com full_page=true thumbnail_width=400] // display a full_page screenshot of google.com thumnailed down to 400px wide
The plugin wraps the element inside a
[urlbox url=google.com figure_class=my-figure-class img_class=my-img-class ] // change the css classes of the wrapping figure and img element
What do you need
WordPress
A Urlbox Account
Your Urlbox API key and secret (From: https://urlbox.com)
Known Bugs
1.6.0 – Bug in proxy logic. Testing one’s proxy connection in the plugin’s settings will not work due to an ‘Invalid JSON’ error, because of a lack of JSON encoding. This error does not display in the WordPress playground, but will display in any dockerised/live environment. Action taken was to fix the bug and release 1.6.1, and introduce a dockerised test/development environment for future coverage before releases.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Urlbox Screenshots」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.3 | 1.4 | 1.5 | 1.0.1 | 1.0.2 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 1.6.0 | 1.6.1 | 1.6.2 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。