Skip to content
WordPress.org

བོད་ཡིག

  • དཔེ་སྒྲོམ།
  • མཐུད་སྣེ།
  • News
  • ངེད་ཀྱི་སྐོར།
  • ཚོགས་པ།
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

LH Web Share

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

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.

LH Web Share

རྩོམ་པ་པོ། shawfactor
ཕབ་ལེན།
  • ཞིབ་ཕྲ།
  • གདེང་འཇོག
  • སྒྲིག་འཇུག
  • ཡར་རྒྱས།
རམ་འདེགས།

ཞིབ་བརྗོད།

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.

སྒྲིག་འཇུག

  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

གདེང་འཇོག

Works fine!

moaschtr 2019 ལོའི་ཟླ 3 ཚེས 3 ཉིན།
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.
གདེང་འཇོག 1 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“LH Web Share” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།
  • shawfactor

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “LH Web Share” ཡིག་སྒྱུར་བྱོས།

Interested in development?

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

དག་བཅོས་ཉིན་ཐོ།

1.00 December 23, 2017
* Initial version.

ཟུར་བརྗོད།

  • Version 1.00
  • Last updated ལོ 8 སྔོན།
  • Active installations ཐེངས་ 10 ལས་ཉུང་བ།
  • WordPress version 4.0 ཡང་ན་དེ་ལས་མཐོ་བ།
  • Tested up to 4.9.28
  • Language
    English (US)
  • Tags
    sharingsocial shareweb share
  • མཐོ་རིམ་མཐོང་སྣང་།

གདེང་འཇོག

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

ངའི་མཆན་ཁ་སྣོན།

See all reviews

བྱས་རྗེས་འཇོག་མཁན།

  • shawfactor

རམ་འདེགས།

Got something to say? Need help?

རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།

ཞལ་འདེབས།

Would you like to support the advancement of this plugin?

མཐུད་སྣེ་འདི་ལ་ཞལ་འདེབས།

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

བོད་ཡིག

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
ཚབ་ཨང་ནི་སྙན་ངག་གོ།