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.

Webshare

Descrição

Webshare is another social sharing plugin but it only displays sharing links with Genericon fonts. So it’s lightweight.

Plugin usage

When you activate the plugin social sharing appears after singular post. You can drag and drop social icons in
different order under Settings >> Webshare.

There you can choose under which post types you want social icons to appear or do you want to disable some of them.

Add Twitter username in your profile page (called Twitter Username) if you want to show it when sharing to twitter.

Theme support

If you want to set location where social sharing appears, load Genericons and handle the CSS in your theme, add this code in your themes functions.php.

/* Webshare plugin support. This means that theme handles the CSS and location of websharing already. */
add_theme_support( 'webshare', array( 'styles' => true ) );

Then add this code in your themes template file where you want webshare to appear.

<?php 
if ( function_exists( 'webshare' ) ) {
    webshare(); // Sharing icons.
}
?>

Demo

You can see the demo in Mina olen demosite. You can
get Mina olen theme from here.

Ecrãs

  • Webshare after content

Instalação

  1. Upload webshare to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Perguntas frequentes

Is there any settings in this plugin?

No. You can only add Twitter username in your profile page.

Does social sharing automatically appear after or before content?

Not at the moment. I think about adding social sharing after content.

Avaliações

3 Setembro, 2016 1 resposta
It’s a good sharing plugin without “fat”. It’s lean and minimal and easy to use too. Nothing else matters. Several (maybe) improvement that can be implemented: – no genericons. this plugin only use several icons but uses genericons which is a large icon font library. – no autosave on drag and drop icons. It’s redundant because the settings page have a “save” button. it’s probably better to save when clicking “save” instead of partially save the order and different mechanism to save other settings.
Ler todas as 3 avaliações

Contribuidores e programadores

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

Contribuidores

Registo de alterações

1.2.7

  • Fix: Security update for XSS security flaw.

1.2.6

  • Fix sanitize callback function, yes again.

1.2.5

  • Fix incorrect sanitize callback function.
  • Serbian language files added.

1.2.4

  • Fix incorrect path to genericon CSS file.
  • Use the_title_attribute in title.

1.2.3

  • Tested up to WP 4.0.
  • Compress CSS files.
  • Update language files.

1.2.2

  • Fixed a small bug in Genericons.

1.2.1

  • Update Genericons to version 3.1.

1.2

  • Setting page added under Settings >> Webshare.
  • You can now drag and drop social icons in the order you want.
  • You can disable social icons.
  • You can choose under which post types you want social icons to appear.
  • When you uninstall the plugin database settings are deleted.

1.1.1

Add screenshot.

1.1

  • Social sharing appears now automatically after post if you don’t add support for your theme.

Social sharing

1.0.0

  • Everything’s brand new.