WordPress.org

Norsk (Bokmål)

  • Tema
  • Utvidelser
  • Nyheter
  • Om
  • Mønstre
  • Delta
  • Meetups
  • Slack
  • Kontakt
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

LH Web Share

  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn
  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn

Denne utvidelsen har ikke blitt testet mot noen av de siste 3 hovedutgivelsene av WordPress. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

LH Web Share

Av shawfactor
Last ned
  • Detaljer
  • Omtaler
  • Installering
  • Utvikling
Brukerstøtte

Beskrivelse

The Web Share API is a Promise-based, single method API. It accepts an object which must have at least one of the properties named text or url.

Once invoked it will bring up the native picker and allow you to share the data with the app chosen by the user.

Installasjon

  1. Download and unzip the plugin.
  2. Upload the lh-web-share directory to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Installation Instructions
  1. Download and unzip the plugin.
  2. Upload the lh-web-share directory to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
So I have installed this plugin, now what?
  • By defauls this plugin just installs the javascript necessary to trigger the web share dialog, when an anchor with the class lh_web_share is clicked. You need to include the anchors to action this in your content or theme. E.G Click me

Vurderinger

Works fine!

moaschtr 3. mars, 2019
Many thanks for this plugin, I use it for adding a share-button below the content of single posts by adding the following hook to the functions.php of my child theme: function lhws_add_to_content( $content ) { if( is_single() && ! empty( $GLOBALS['post'] ) ) { if ( $GLOBALS['post']->ID == get_the_ID() ) { $content .= '<div class="sharing"><a href="#" class="lh_web_share" rel="nofollow">Share</a></div>'; } } return $content; } add_filter('the_content', 'lhws_add_to_content'); The plugin forwards to facebook sharing by default if the browser doesn’t support the Web Sharing API yet.
Les 1 vurdering

Bidragsytere og utviklere

“LH Web Share” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere
  • shawfactor

Oversett “LH Web Share” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

1.00 December 23, 2017
* Initial version.

Meta

  • Versjon 1.00
  • Sist oppdatert 7 år siden
  • Aktive installasjoner Færre enn 10
  • WordPress-versjon 4.0 eller nyere
  • Testet opp til 4.9.26
  • Språk
    English (US)
  • Stikkord
    sharingsocial shareweb share
  • Avansert visning

Vurderinger

5 av 5 stjerner.
  • 1 5-star review 5 stjerner 1
  • 0 4-star reviews 4 stjerner 0
  • 0 3-star reviews 3 stjerner 0
  • 0 2-star reviews 2 stjerner 0
  • 0 1-star reviews 1 stjerne 0

Legg til min anmeldelse

Se alle omtalene

Bidragsytere

  • shawfactor

Brukerstøtte

Har du noe å si? Trenger du hjelp?

Vis brukerstøtteforumet

Donér

Vil du støtte videreutviklingen av denne utvidelsen?

Doner til denne utvidelsen

  • Om
  • Nyheter
  • Hosting
  • Personvern
  • Fremvisning
  • Temaer
  • Utvidelser
  • Mønstre
  • Lær
  • Brukerstøtte
  • Utviklere
  • WordPress.tv ↗
  • Bli involvert
  • Arrangementer
  • Doner ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Norsk (Bokmål)

  • Besøk vår konto på X
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Besøk vår Facebook-side
  • Besøk vår Instagram-konto
  • Besøk vår LinkedIn-konto
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode er poesi.