Title: Custom Etsy Widget
Author: jcoxwell
Published: <strong>2010 年 1 月 18 日</strong>
Last modified: 2010 年 10 月 28 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/etsy-widget.svg)

# Custom Etsy Widget

 由 [jcoxwell](https://profiles.wordpress.org/jcoxwell/) 開發

[下載](https://downloads.wordpress.org/plugin/etsy-widget.1.0.8.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/etsy-widget/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/etsy-widget/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/etsy-widget/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/etsy-widget/#developers)

 [技術支援](https://wordpress.org/support/plugin/etsy-widget/)

## 外掛說明

This plugin adds a sidebar widget that displays a grid of thumbnails linking to 
items in an etsy store. The user can select the number of rows and columns to display.
The results are similar to Etsy Mini but since it doesn’t use flash or an iframe
the theme sidebar style is inherited. Users can also customize the display by adding‘
etsy’ css class definitions to their theme style sheet.

You can choose to show the most recent items or a random set on each load.

This plugin has only been tested on linux, but I can’t think of any reason why it
wouldn’t work on windows as well.

You can see it running at [blog.cheyenneweil.com](http://blog.cheyenneweil.com).

This plugin requires PHP5.

The term ‘Etsy’ is a trademark of Etsy, Inc. This application uses the Etsy API 
but is not endorsed or certified by Etsy, Inc.

## 螢幕擷圖

[⌊The admin interface.⌉⌊The admin interface.⌉[

The admin interface.

[⌊How it looks on the page.⌉⌊How it looks on the page.⌉[

How it looks on the page.

## 安裝方式

 1. Upload `etsy-widget.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the Etsy widget in your sidebars and click ‘[EDIT]’.
 4. Enter your etsy shop name and the number of rows and columns to display.
 5. Choose how items are chosen (Most Recent, or Random).
 6. If desired, add custom styling to your theme for the ‘etsy’ css class, otherwise
    it will default to sidebar style rules.

## 常見問題集

  Why not use the other etsy sidebar widget?

At the time I wrote this plugin another etsy sidebar widget was available. However,
it didn’t meet my needs because it only allowed you to embed Etsy Mini code. Functionality
which could just as easily be obtained with the default ‘Text’ widget.

  Why not use Etsy Mini?

Etsy Mini uses an iframe or flash object. In either case there is no easy way to
control the styling. Also, you must go to your etsy account to generate new code
if you want to change the basic layout. This widget allows complete styling and 
an equivalent number of layout options in the widget configuration.

  Does it cache the Etsy API call results?

Yes. By default, a json cache file is stored in the system temp directory. The cache
is refreshed every 6 hours. You can change the cache location in the configuration
window.

  Why not use the wordpress object cache?

The wordpress object cache is not enabled by default. I choose not to use it because
I wanted the plugin to be as easy as possible to install.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Custom Etsy Widget〉的開發相關工作。

參與者

 *   [ jcoxwell ](https://profiles.wordpress.org/jcoxwell/)

[將〈Custom Etsy Widget〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/etsy-widget)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/etsy-widget/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/etsy-widget/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/etsy-widget/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/etsy-widget/)。

## 變更記錄

#### 1.0.8

Fix optional link to store home page.

#### 1.0.7

Clear the cache on activation. This solves a couple of problems. Most importantly
if Etsy changes the API format the cache will be cleared automatically on upgrade.
It’s also handy to be able to clear the cache manually by deactivating and reactivating
the plugin.

You must use your shop name. An error will appear if an old version of the plugin
was set to use you user id number. If this happens go to the widget configuration
and change it.

#### 1.0.6

Upgrade to use Esty API V2.

Removed invalid image size options.

#### 1.0.5

Add option to change cache location. The default is to use whatever is returned 
by the php function sys_get_temp_dir (usually /tmp on unix systems).

#### 1.0.4

Fixed bug in column layout. Older version wouldn’t render more than 2 columns.

#### 1.0.3

Add admin option to choose image thumbnail size for display.

Set cache life to 6hrs to comply with etsy api requirements.

#### 1.0.2

Fix a cache problem that would occur when showing the widget from multiple blogs
installed as different users.

#### 1.0.1

Add readme, comments, and documentation.

## 中繼資料

 *  版本 **1.0.8**
 *  最後更新 **16 年前**
 *  啟用安裝數 **60+**
 *  WordPress 版本需求 ** 2.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/etsy-widget/)
 * 標籤:
 * [etsy](https://tw.wordpress.org/plugins/tags/etsy/)[sidebar](https://tw.wordpress.org/plugins/tags/sidebar/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/etsy-widget/advanced/)

## 評分

 1 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/etsy-widget/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/etsy-widget/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/etsy-widget/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/etsy-widget/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/etsy-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/etsy-widget/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/etsy-widget/reviews/)

## 參與者

 *   [ jcoxwell ](https://profiles.wordpress.org/jcoxwell/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/etsy-widget/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11250185)