Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

Website Screenshots

Beskriuwing

Use the [website-screenshot] shortcode to automatically insert an up to date webiste screenshot.

Shortcode Examples

// Website screenshot of wordpress.org
[website-screenshot url="https://wordpress.org" width="1680"]

// You can also resize the generated images
[website-screenshot url="https://wordpress.org" width="1680" thumbnail_width="100"]

// And you can add custom html tags
[website-screenshot url="https://wordpress.org" target="_blank" class="my-image-class"]

Parameters

  • url (required) – The url
  • width – the width of the screenhsot
  • height – the height of the screenshot
  • thumbnail_width – Resize the image to the desired width, preserves the aspect ratio
  • alt – the image alt text
  • target – browser target. For example: use _blank to open in a new window
  • class – add a class to the screenshot

Generating the screenshot in PHP

You can also use our PHP class to generate a screenshot:

<img src="<?php echo WebsiteScreenshot::screenshot(['url' => 'https://wordpress.org']); ?>" />

Notes

  • This plugin relies on screenshotapi.net you should create an account there and paste your API token into the settings page.

Skermôfbyldings

Ynstallaasje

  1. Install the plugin from the WordPress admin panel, or upload the website-screenshots folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Resinsjes

D'r binne gjin resinsjes foar dizze plugin.

Meiwurkers & amp; Untwikkelders

"Website Screenshots" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette "Website Screenshots" yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.0.1 – 20 August 2020

  • Updated the readme.

1.0.0 – 19 August 2020

  • The initial release.