🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Share Target icon
Peut-être abandonné 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…

Installations actives<10Nouveau
Téléchargements · 30D39▼ -4.9% vs prev. 30d
Évaluation—0 avis
Score de santé21/100En danger
Téléchargements de tous les temps1.5KDepuis avril 2021
Support résolu—Aucun fil de discussion récent
A besoin deWP 5.2PHP 7.0+
Téléchargements · 7j9▲ +12,5% Semaine sur semaine
Notre verdict

Envisager une 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.

  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 5 ans
  • Uniquement testé jusqu'à WordPress 5,7 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

134Aug 31Oct 14Nov 28
Hier1
Moyenne quotidienne (1 ans)1
Jour de pointe6Nov 8, 2026
12 Derniers mois353

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Share Target stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
image >100 10,000 Les meilleurs plugins d'images →
médias >100 10,000 Meilleurs plugins multimédias →
share target >100 1,254 Best share target plugins →
sharing >100 3,679 Best sharing plugins →
web >100 10,000 Best web plugins →

About Share Target

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

Description

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.

Obligations

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.

Usage

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.

Paramètres :

  • 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. Activez le plugin via le menu "plugins" dans WordPress.

Journal de modifications

1.0.0-beta.1

  • Initial beta release

Journal des modifications complet sur WordPress.org →

Captures d'écran

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…

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Share Target alternatives

Tous les plugins d'images →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Immanité Immanité Redimensionne automatiquement les énormes téléchargements d'images. Les contributeurs téléchargent-ils d'énormes photos ? Fatigué de… Par Shane Bishop 200K+ ★★★★★★★★★★ 4.9 (291) Il y a 3 mois 71
2 Boîte à lumière du feu Boîte à lumière du feu Anciennement Fancybox. Le plugin Lightbox le plus populaire WordPress. Simple, rapide et… par feu de feu 200K+ ★★★★★★★★★★ 4.8 (367) 3 semaines plus tôt 95
3 Lightbox et galerie réactives Lightbox et galerie réactives Le plugin Lightbox le plus populaire et le constructeur de galeries réactifs pour WordPress. par factory 100K+ ★★★★★★★★★★ 4.9 (2K) Il ya 3 jours 81
4 Boîte à lumière simple Boîte à lumière simple La Lightbox hautement personnalisable pour WordPress par archétype 100K+ ★★★★★★★★★★ 4.3 (240) Il y a 3 mois 74
5 ResMush.it : le plugin d'origine gratuit pour compresseur et optimiseur d'images resmush.it ResMush.it est le plugin gratuit d'image de compresseur et d'optimiseur - utilisez-le pour optimiser votre… par shortpixel 100K+ ★★★★★★★★★★ 4.3 (166) Il y a 3 mois 83
6 Widget d'images Widget d'images Un widget d'images simple qui utilise le gestionnaire de médias WordPress natif pour ajouter des widgets d'images à… par Nexcess 100K+ ★★★★★★★★★★ 4.9 (287) il y a 7 mois 58
7 Image de menu, icônes simplifiées Image de menu, icônes simplifiées Ajoute une image ou une icône dans les éléments du menu. Vous pouvez choisir la position de l'image (après… par Rui Guerreiro 100K+ ★★★★★★★★★★ 4.5 (123) Il y a 1 an 39
8 ImageMagick Moteur ImageMagick Moteur Améliorez la qualité des images redimensionnées en remplaçant la bibliothèque GD standard par ImageMagick. Par Rickard Westerlin 60K+ ★★★★★★★★★★ 4.4 (16) il y a 6 jours 73
9 Tailles d'image simples Tailles d'image simples Ce plugin vous permet de créer des tailles d'image personnalisées pour votre site. Dépassez vos tailles de thèmes… de Nicolas Juen 60K+ ★★★★★★★★★★ 4.6 (91) Il y a 3 mois 68
10 Favicon tout en un Favicon tout en un Ajoutez facilement un favicon à votre site et aux pages d'administration WordPress. Compléter avec le téléchargement… de Garrett Grimm 50K+ ★★★★★★★★★★ 4.5 (82) Il y a 3 ans 46

FAQ

Share Target: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : 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).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir