WordPress.org

Portugal

  • Temas
  • Plugins
  • Notícias
  • Suporte
  • Sobre
  • Padrões
    • Equipa
    • Colaborar
  • Traduções
  • Obter o WordPress
Obter o WordPress
WordPress.org

Plugin Directory

LH Web Share

  • Submeter um plugin
  • Os meus favoritos
  • Iniciar sessão
  • Submeter um plugin
  • Os meus favoritos
  • Iniciar sessão

Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

LH Web Share

Por shawfactor
Descarregar
  • Detalhes
  • Avaliações
  • Instalação
  • Desenvolvimento
Suporte

Descrição

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.

Instalação

  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.

Perguntas frequentes

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

Avaliações

Works fine!

moaschtr 3 Março, 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.
Ler 1 avaliação

Contribuidores e programadores

“LH Web Share” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores
  • shawfactor

Traduza o “LH Web Share” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo de alterações

1.00 December 23, 2017
* Initial version.

Metadados

  • Versão 1.00
  • Última actualização Há 7 anos
  • Instalações activas Menos de 10
  • Versão do WordPress 4.0 ou superior
  • Testado até 4.9.26
  • Idioma
    English (US)
  • Etiquetas
    sharingsocial shareweb share
  • Visualização avançada

Classificações

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

Adicionar a minha avaliação

See all reviews

Contribuidores

  • shawfactor

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de apoiar o desenvolvimento deste plugin?

Fazer donativo para o plugin

  • Sobre
  • Notícias
  • Hosting
  • Privacidade
  • Showcase
  • Temas
  • Plugins
  • Padrões
  • Aprender
  • Suporte
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Portugal

  • Visite a nossa página do Facebook
  • Visite a nossa conta X (antigo Twitter)
  • Visit our Mastodon account
  • Visite a nossa conta no Instagram
  • Visite a nossa conta no LinkedIn
  • Visit our YouTube channel
Código é poesia.