跳到内容

Urlbox Screenshots

v1.6.1

urlbox.io · 2016年10月27日 上架

🎉 Easily display website screenshots of any URL in your Wordpress site 🎉

正在使用
30+
评分
3.5 / 5
累计下载
5,234
最近更新
2024年10月14日
2 条评价需要 WordPress 6.0+已测试到 6.6.12

贡献者

截图

Settings view
Settings view
Using the shortcode in a post
Using the shortcode in a post
Viewing the results
Viewing the results

🎉 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.

  1. First activate the plugin and fill in your Urlbox.com API Key and Secret in the settings page.

  2. (Optional) You can set default options for your screenshots such as width, height, and thumbnail width on the plugin settings page.

  3. 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 <img> element inside a <figure> element. You can set the class of both the figure and the img elements from the settings page (which will apply to all screenshots), and also override these settings for an individual screenshot by passing the options in the shortcode:

[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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums