Ir para o conteúdo
  • Iniciar sessão
  • Registar
WordPress.org

Portugal

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

Plugins

  • Os meus favoritos
  • Beta Testing
  • Programadores

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.

Descarregar

LH Web Share

Por Peter Shaw
  • 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?

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

Registo de alterações

1.00 December 23, 2017
* Initial version.

Metadados

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

Classificações

Ver todas
  • 5 estrelas 1
  • 4 estrelas 0
  • 3 estrelas 0
  • 2 estrelas 0
  • 1 estrela 0
Inicie a sessão para submeter uma avaliação.

Contribuidores

  • shawfactor

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de apoiar o desenvolvimento deste plugin?

Fazer um donativo a este plugin

  • Sobre
  • Notícias
  • Hosting
  • Donate
  • Swag
  • Support
  • Developers
  • Get Involved
  • Aprender
  • Showcase
  • Plugins
  • Temas
  • Padrões
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacidade
  • Código público
WordPress.org
WordPress.org

Portugal

  • Visite a nossa página do Facebook
  • Visite a nossa conta do Twitter
  • Visit our Instagram account
  • Visit our LinkedIn account
Código é poesia