這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Ya Share

描述

The WP Ya.Share plugin adds to your blog a set of buttons to save URLs of your pages/posts in popular social networks (twitter, facebook, livejournal, vkontakte etc.).

Добавляет блок ‘Поделиться’ (Ya.Share, разработанный в yandex) для сохранения ссылки просматриваемой страницы вашего блога в популярных ‘социальных сервисах’ (вконтакте, жж, твиттер и т. д.).

It uses the Yandex Ya.share API; I shaped it into wordpress plugin with some options only.

The following options are available:

  • locate “ya.share” block either in the content of a page/single post or in the sidebar (as a new widget);
  • select a list of preferable social networks;
  • button/link/icon for expanded social networks list, or nothing;
  • left, right or centered location;
  • above or under the content;
  • inscription language.
    Please feel free to contact me with your questions or suggestions.

安裝

  1. Upload wp-ya-share.zip to your plugins directory using the wordpress plugin installation interface and activate the plugin.
  2. Select your preferable options at the Ya.share options page.

常見問題

I need Ya.share appears everywhere in my blog, not on pages and single posts

On the plugin options page select ‘create widget’, then set the Ya.share widget to the appropriate place in a sidebar.

Or select ‘multiple’ (also in any post on archive pages) option.

I would like to embed ya share into some posts, not into all.

Check the Ya.share location option: “selectively”. Then just add this code: [ya_share] into the post content.

評價

2017年2月8日
Предлагаю Вашему вниманию несколько доработанный код, который необходимо вставить путем замены в файле wp-ya-share.php. Поехали… 1) строка 65: 'type' => array('button', 'icon', 'link', 'none'), заменить на 'type' => array('button', 'icon', 'link', 'none', 'small', 'big'), 2) строка 221: foreach ( array('button', 'icon', 'link', 'none') as $item ) { заменить на foreach ( array('button', 'icon', 'link', 'none', 'small', 'big') as $item ) { …и вуа-ля! Теперь мы можем менять кнопки на маленькие и БОЛЬШИЕ. Маленькие кнопки: http://pl.vc/3aeo8 Большие кнопки: http://pl.vc/38itd Страница настроек: http://pl.vc/5ierz
閱讀全部4個評價

貢獻者及開發者

“WP Ya Share” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Ya Share 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.6

  • API domain changed from unreliable yandex.st to yastatic.net.
  • Added: sharing to Pinterest.
  • Removed: sharing to Ya.ru.

1.5

  • New setting: button style (theme).
  • Code improve.

1.4

  • Added: Copy-paste option in popup block.
  • Added: Surfingbird service.
  • Minor changes fixing php warnings and notices.

1.3

  • Added: different title for each post when multiple option is active, instead of blog title.

1.2

  • Added options: to show multiple ya-share blocks and to show it selectively via short code.
  • Added services: Google+, Diary.ru, Tut.by; Google+ added to the services default list.
  • Removed services: Google Reader, Google Buzz.
  • Most of the code is rewritten.
  • Added Belorussian translation made by Alexander Ovsov.

1.1

  • Changeable pop-up list.
  • Custom button text and pop-up title.
  • Button for deleting options.
  • Some minor changes.

1.0

  • first version.