Chuyển tới nội dung
  • Đăng nhập
  • Đăng ký
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • News
  • Hỗ trợ
    • Documentation
    • Diễn đàn
  • Giới thiệu
  • Meetup
  • Team
  • Get WordPress
Get WordPress

Plugin

  • Mục yêu thích
  • Phiên bản Beta
  • Lập trình viên

Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Tải về

LH Web Share

Bởi Peter Shaw
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Development
Hỗ trợ

Mô tả

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.

Cài đặt

  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.

Hỏi đáp

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

Đánh giá

Works fine!

moaschtr 3 Tháng Ba, 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.
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“LH Web Share” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • shawfactor

Dịch “LH Web Share” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.00 December 23, 2017
* Initial version.

Meta

  • Phiên bản: 1.00
  • Lần cập nhật gần nhất: 5 năm trước
  • Lượt kích hoạt: Ít hơn 10
  • Phiên bản WordPress: 4.0 hoặc cao hơn
  • Đã kiểm tra với: 4.9.23
  • Ngôn ngữ:
    English (US)
  • Tag:
    sharingsocial shareweb share
  • Nâng cao

Đánh giá

Xem tất cả
  • 5 sao 1
  • 4 sao 0
  • 3 sao 0
  • 2 sao 0
  • 1 sao 0
Log in to submit a review.

Những người đóng góp

  • shawfactor

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Quyền riêng tư
  • Public Code
WordPress.org
WordPress.org

tiếng Việt

  • Xem trang Facebook của chúng tôi
  • Xem trang Twitter của chúng tôi
  • Visit our Instagram account
  • Visit our LinkedIn account
Viết code như làm thơ.