Перейти до вмісту
  • Увійти
  • Зареєструватись
WordPress.org

Україна

  • Теми
  • Плагіни
  • Новини
  • Підтримка
  • Про
  • Документація
  • Спільнота
  • Контакт
  • Завантажити WordPress
Завантажити WordPress

Плагіни

  • Мої улюблені
  • Бета-тестування
  • Розробникам

Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Завантажити

LH Web Share

Від автора Peter Shaw
  • Деталі
  • Відгуки
  • Встановлення
  • Розробка
Підтримка

Опис

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.

Часті питання

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 03.03.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.
Прочитати всі 1 відгук

Учасники та розробники

“LH Web Share” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники
  • shawfactor

Перекладіть “LH Web Share” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.00 December 23, 2017
* Initial version.

Мета

  • Версія: 1.00
  • Останнє оновлення: 6 років тому
  • Активних встановлень: Менше 10
  • WordPress версія: 4.0 або вище
  • Сумісний аж до: 4.9.24
  • Мова:
    English (US)
  • Позначки:
    sharingsocial shareweb share
  • Розширений перегляд

Оцінки

Переглянути всі
  • 5 зірок 1
  • 4 зірки 0
  • 3 зірки 0
  • 2 зірки 0
  • 1 зірка 0
Увійдіть, щоб залишити відгук.

Учасники

  • shawfactor

Підтримка

Є що сказати? Потрібна допомога?

Перейти в форум підтримки

Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

Пожертвувати на розвиток плагіна

  • Про нас
  • Новини
  • Хостинг
  • Приватність
  • Вітрина
  • Теми
  • Плагіни
  • Паттерни
  • Навчання
  • Підтримка
  • Розробники
  • WordPress.tv ↗
  • Приєднатися
  • Donate ↗
  • Swag Store ↗
  • WordCamp ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Україна

  • Завітайте на нашу сторінку в Facebook
  • Visit our X (formerly Twitter) account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Код - це поезія.