🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Share Target icon
Möglicherweise aufgegeben Tested up to 5.7.22

Share Target

By using this plugin, you can share content like images, media, URLs and text directly to your WordPress site from a capable device and browser. For example, you can share a photo that you just took on your phone to…

Aktive Installationen<10Neu
Downloads · 30d39▼ -4.9% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score21/100In Gefahr
Downloads aller Zeiten1.5KSince Apr 2021
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 5.2PHP 7,0+
Downloads · 7d9▲ +12.5% week over week
Unser Urteil

Betrachten Sie eine Alternative

Share Target shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 6 years ago, and scores 21/100 on our health check.

  • Kleine Benutzerbasis (<10 aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 5 Jahren
  • Nur getestet bis WordPress 5.7 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

134Aug 31Oct 14Nov 28
Gestern1
Täglicher Durchschnitt (1 Jahr)1
Spitzentag68. November 2026
Letzte 12 Monate353

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Share Target stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
image >100 10,000 Best image plugins →
media >100 10,000 Best media plugins →
share target >100 1,254 Best share target plugins →
sharing >100 3,671 Best sharing plugins →
web >100 10,000 Best web plugins →

About Share Target

From the official readme · v1.0.0-beta.1

Beschreibung

By using this plugin, you can share content like images, media, URLs and text directly to your WordPress site from a capable device and browser. For example, you can share a photo that you just took on your phone to your WordPress site in the same way that you would otherwise share it with your friends in a native messaging app.

When you share content to your WordPress site using this plugin, it will automatically start a new block editor draft post with it; you can then just add anything else you like, or immediately publish it as is. For certain use-cases, e.g. an image blog, creating a post with the shared image might be everything that’s needed before publishing right away!

To name a few other examples of what you can share to your WordPress site using this plugin, think about audio and video files, short text notes, Spotify playlists – basically anything that you can share from an app on your phone you can now also share directly to your WordPress site.

Bedarf

In order to use this plugin, you will also need to install and activate the PWA plugin, which provides the basic infrastructure for your site to become a PWA.

Verwendung

With both plugins active, once you visit your site on a capable device and browser, you should see a prompt (via the PWA plugin’s functionality) to add the plugin to your home screen (e.g. similar to an app on your phone).

Once you have added your website to the home screen of your device, it should be available as a target when sharing any content from that device, e.g. a photo or a URL.

When you share something to your WordPress site, the installed PWA of your website should open. You should then (potentially after logging in) land directly on a new post in the block editor where the shared content has already been added. If you are sharing a media file (e.g. an image or video file), it will be automatically added to your site’s media library.

Background information

This plugin is powered by the Web Share Target API. The Web Share Target API is a modern browser API which allows sharing images, media, URLs and basic text content directly to your website, relying on the regular sharing UI that is for example integrated in your phone. See here for more technical background information about the Web Share Target API.

Third-party developer API

The Share Target plugin allows other plugins to integrate with it. You can customize what should happen with incoming shared content when it arrives in the block editor, conditionally overriding the default behavior of the plugin.

In PHP, enqueue your custom JavaScript file. Make sure to include the share-target script in its dependencies. For example:

wp_enqueue_script(
  'my-share-target-handler',
  '/assets/js/my-share-target-handler.js',
  array( 'share-target' )
);

In your JavaScript file you can then add your custom share handler using the following function:

wp.shareTarget.registerShareHandler( options )

Registers a new share handler for incoming shared data.

Parameters:

  • options: (Object) (required) Handler options.
  • options.handle: (Function) (required) Share handler function. Must be asynchronous and accept an object with properties title, description, link (each strings), and attachment (object). Any of these may be undefined. Depending on the data, the function should decide whether to handle it and if so run the necessary logic and return true, to stop following handlers from being called. Otherwise, it should return false.
  • options.priority: (number) (optional) Priority for the handler. A lower number means higher priority, like for WordPress hooks. Default is 10.

The following example handles any shared Spotify content and embeds it into the post:

// Matches a shared Spotify URL.
const spotifyRegex = /^https:\/\/open\.spotify\.com/;

wp.shareTarget.registerShareHandler( {
  handle: async ( { link, attachment } ) => {
    // Do not handle if a media file is being shared.
    if ( attachment ) {
      return false;
    }

    // If a shared Spotify URL, embed it.
    if ( link && link.match( spotifyRegex ) ) {
      wp.data.dispatch( 'core/block-editor' ).insertBlocks( [
        wp.blocks.createBlock( 'core/embed', {
          url: link,
          type: 'rich',
          providerNameSlug: 'spotify',
          responsive: true,
        } ),
      ] );
      return true;
    }

    // Otherwise fall back to other handlers.
    return false;
  },
  priority: 5,
} );

Installation

Make sure you have the PWA plugin installed before using the Share Target plugin.

  1. Upload the entire share-target folder to the /wp-content/plugins/ directory or download it through the WordPress backend.
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress.

Änderungsprotokoll

1.0.0-beta.1

  • Initial beta release

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Sharing media and text from a notes app on the phone directly into a WordPress site about cocktails
Sharing media and text from a notes app on the phone directly into a WordPress site about…
The shared content from the other screenshot as initially displayed in the block editor, with only one click left to publish
The shared content from the other screenshot as initially displayed in the block editor…

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Share Target alternatives

All image plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Imsanity Imsanity Automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of… by Shane Bishop 200K+ ★★★★★★★★★★ 4.9 (291) Vor 3 Monaten 71
2 Feuerlicht-Lichtkasten Feuerlicht-Lichtkasten Früher einfach Fancybox. Das beliebteste WordPress Lightbox-Plugin. Einfach, schnell und… durch Feuerschein 200K+ ★★★★★★★★★★ 4.8 (367) Vor 3 Wochen 95
3 Responsive Lightbox & Galerie Responsive Lightbox & Galerie Das beliebteste Lightbox-Plugin und Responsive Gallery Builder für WordPress. von dFactory 100K+ ★★★★★★★★★★ 4.9 (2K) Vor 3 tagen 81
4 Einfacher Leuchtkasten Einfacher Leuchtkasten Der hochgradig anpassbare Lightbox für WordPress von archetypisiert 100K+ ★★★★★★★★★★ 4.3 (240) Vor 3 Monaten 74
5 reSmush.it : The original free image compressor and optimizer plugin reSmush.it reSmush.it is the FREE image compressor and optimizer plugin - use it to optimize your… by ShortPixel 100K+ ★★★★★★★★★★ 4.3 (166) Vor 3 Monaten 83
6 Image Widget Image Widget A simple image widget that uses the native WordPress media manager to add image widgets to… von Nexcess 100K+ ★★★★★★★★★★ 4.9 (287) vor 7 Monaten 58
7 Menu Image, Icons made easy Menu Image, Icons made easy Adds an image or icon in the menu items. You can choose the position of the image (after… by Rui Guerreiro 100K+ ★★★★★★★★★★ 4.5 (123) Vor 1 Jahr 39
8 ImageMagick Engine ImageMagick Engine Improve the quality of re-sized images by replacing standard GD library with ImageMagick. by Rickard Westerlind 60K+ ★★★★★★★★★★ 4.4 (16) Vor 6 Tagen 73
9 Simple Image Sizes Simple Image Sizes This plugin lets you create custom image sizes for your site. Override your theme sizes… by Nicolas Juen 60K+ ★★★★★★★★★★ 4.6 (91) Vor 3 Monaten 68
10 Alles in einem Favicon Alles in einem Favicon Fügen Sie Ihrer Website und den WordPress-Administrationsseiten ganz einfach ein Favicon hinzu. Komplett mit Upload… Von Garrett Grimm 50K+ ★★★★★★★★★★ 4.5 (82) Vor 3 Jahren 46

Fragen und Antworten

Share Target: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Share Target free?

Yes. Share Target is free to download and use from the official WordPress.org plugin directory.

Is Share Target safe to use in 2026?

Share Target shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 6 years ago, and scores 21/100 on our health check.

How many websites use Share Target?

Share Target is active on <10 WordPress websites and has been downloaded 1,526 times since it launched in April 2021. It was downloaded 39 times in the last 30 days.

Does Share Target work with WordPress 7.1?

Share Target is officially tested up to WordPress 5.7.22, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Share Target need?

Share Target requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Share Target last updated?

The latest version, 1.0.0-beta.1, was released on April 6, 2021 (6 years ago).

Who makes Share Target?

Share Target is developed and maintained by Felix Arntz.

What are the best alternatives to Share Target?

The most popular alternatives to Share Target are Imsanity (200K+ installs), Firelight Lightbox (200K+ installs) and Responsive Lightbox & Galle… (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen