Fara að efni
  • Innskrá
  • Nýskráning
WordPress.org

Íslenska

  • Þemu
  • Viðbætur
  • News
  • About
  • Hafa samband
  • Get WordPress
Get WordPress

Viðbætur

  • Mitt eftirlæti
  • Þróunarútgáfur
  • Forritarar

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Sækja

LH Web Share

Höfundur: Peter Shaw
  • Details
  • Reviews
  • Installation
  • Development
Aðstoð

Lýsing

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.

Uppsetning

  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.

SOS

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

Umsagnir

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.
Skoða 1 umsögn

Þátttakendur & höfundar

“LH Web Share” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar
  • shawfactor

Translate “LH Web Share” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Breytingarsaga

1.00 December 23, 2017
* Initial version.

Tækni

  • Útgáfa: 1.00
  • Síðast uppfært: 5 ár síðan
  • Active installations: Fewer than 10
  • WordPress Version: 4.0 or higher
  • Prófað upp að: 4.9.22
  • Language:
    English (US)
  • Efnisorð:
    sharingsocial shareweb share
  • Advanced View

Einkunnir

Sjá allar
  • 5 stjörnur 1
  • 4 stjörnur 0
  • 3 stjörnur 0
  • 2 stjörnur 0
  • 1 stjarna 0
Log in to submit a review.

Höfundar

  • shawfactor

Aðstoð

Eitthvað sem þú vilt segja? Þarftu hjálp?

Skoða hjálparspjallborð

Styrkja

Viltu styrkja áframhaldandi þróun á þessari viðbót?

Styrkja þessa viðbót

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Íslenska

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Kóði er ljóð.