Title: LH Web Share
Author: shawfactor
Published: <strong>24 An Dùbhlachd 2017</strong>
Last modified: 24 An Dùbhlachd 2017

---

Search plugins

![](https://ps.w.org/lh-web-share/assets/banner-772x250.jpg?rev=1791952)

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.

![](https://ps.w.org/lh-web-share/assets/icon-256x256.png?rev=1791952)

# LH Web Share

 By [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Download](https://downloads.wordpress.org/plugin/lh-web-share.zip)

 * [Details](https://gd.wordpress.org/plugins/lh-web-share/#description)
 * [Reviews](https://gd.wordpress.org/plugins/lh-web-share/#reviews)
 *  [Installation](https://gd.wordpress.org/plugins/lh-web-share/#installation)
 * [Development](https://gd.wordpress.org/plugins/lh-web-share/#developers)

 [Support](https://wordpress.org/support/plugin/lh-web-share/)

## Description

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.

## Installation

 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](http://yourlink.com)

## Reviews

![](https://secure.gravatar.com/avatar/f1947e647d3571c569005ba2f798e3e1ea7257a46e86310346bee4b32b802090?
s=60&d=retro&r=g)

### 󠀁[Works fine!](https://wordpress.org/support/topic/works-fine-989/)󠁿

 [moaschtr](https://profiles.wordpress.org/moaschtr/) 3 Am Màrt 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.

 [ Read all 1 review ](https://wordpress.org/support/plugin/lh-web-share/reviews/)

## Contributors & Developers

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

Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[Translate “LH Web Share” into your language.](https://translate.wordpress.org/projects/wp-plugins/lh-web-share)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lh-web-share/), check
out the [SVN repository](https://plugins.svn.wordpress.org/lh-web-share/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/lh-web-share/) by
[RSS](https://plugins.trac.wordpress.org/log/lh-web-share/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

**1.00 December 23, 2017**
 * Initial version.

## Meta

 *  Version **1.00**
 *  Last updated **9 bliadhnaichean ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/lh-web-share/)
 * Tags
 * [sharing](https://gd.wordpress.org/plugins/tags/sharing/)[social share](https://gd.wordpress.org/plugins/tags/social-share/)
   [web share](https://gd.wordpress.org/plugins/tags/web-share/)
 *  [Advanced View](https://gd.wordpress.org/plugins/lh-web-share/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/lh-web-share/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lh-web-share/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lh-web-share/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lh-web-share/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/lh-web-share/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lh-web-share/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lh-web-share/reviews/)

## Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lh-web-share/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://lhero.org/plugins/lh-web-share/)