Local Links

Описание

This plugin was originally written for authors, but may be useful for others that link to stores such as Amazon, Apple, and Kobo.

It will automatically edit links to various sites so that the user is directed to their local site. It will work on existing links and new ones. Simply add links to your site as usual, and they will be rewritten on the fly to send your visitors to their local site.

From version 2.0, if the user has a local Amazon store but the store does not sell Kindle books (Amazon Singapore for example), Kindle book links will redirect to amazon.com while paperback and hardback links will go to the local Amazon store.

In addition, some tidying up of links is performed to remove extraneous junk. If you have affiliate codes, the relevant code will be added to that store’s links.

Changes are only made in the user’s browser. WordPress posts and pages are not changed, so if the plugin is deactivated or removed, they will return to their previous state.

Currently Supported Stores:

  • Amazon
  • Apple Books
  • Apple iTunes (audiobooks)
  • Kobo
  • Alibris
  • Google Play
  • AbeBooks
  • Barnes & Noble
  • Bookshop.org
  • OneBookShelf sites (DriveThruFiction, DriveThruCards, DriveThruComics, DriveThruRPG, Wargame Vault)

The locallinks_cc GET parameter can be used for testing. For example, add ?locallinks_cc=fr to test links to French stores.

Скриншоты

  • The settings page

Установка

Some vendors require the GeoIP Detection plugin. You may wish to install and configure that before continuing.

  1. Upload the plugin zip file using WordPress’ plugin installer, or install the plugin through the WordPress plugins screen directly (search for ‘Local Links Robin Phillips’)
  2. Optionally install, activate, and configure the GeoIP Detection plugin
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. Use the Settings->Local Links screen to select which vendor links should be localised

Отзывы

Посмотреть 1 отзыв

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

«Local Links» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Local Links» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

v2.3

  • Added support for Bookshop.org
  • Added support for affiliate codes and src parameter on OneBookShelf sites (DriveThruFiction, DriveThruCards, DriveThruComics, DriveThruRPG, Wargame Vault)

v2.2

  • Added support for Apple, Google, and Kobo affiliates
  • Added placeholder text to affiliate text boxes

v2.1

  • Bug fix for B&N links

v2.0

  • Added support for Amazon stores without Kindle stores. Paper book links go to the local store, Kindle links go to amazon.com
  • Simplified code in activation and uninstall hooks