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

Pinterest Pinboard Widget

外掛說明

This plugin adds your favorite pins much like the pinboards on Pinterest. It uses the original thumbnails from Pinterest itself. The plugin aims to have the same look and feel as the pinboords on Pinterest. To improve your site’s performance, the pins are cached every 15 minutes.

The Pinterest Pinboard can be used as a widget in your sidebar or on any page using the shortcode.

Get Involved

螢幕擷圖

  • Settings of the widget under: Appearance > Widgets
  • This is the Pinterest Pinboard widget in the sidebar of the Twenty Eleven WordPress theme

安裝方式

  1. Upload the folder pinterest-pinboard-widget and its contents to the /wp-content/plugins/ directory or use the wordpress plugin installer
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. A new “Pinterest Pinboard” widget will be available under Appearance > Widgets.
  4. Add it to your sidebar and edit settings, or use the following shortcode on your page to display the pins [pinterest_pinboard username="pinterest"].

常見問題集

Installation Instructions
  1. Upload the folder pinterest-pinboard-widget and its contents to the /wp-content/plugins/ directory or use the wordpress plugin installer
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. A new “Pinterest Pinboard” widget will be available under Appearance > Widgets.
  4. Add it to your sidebar and edit settings, or use the following shortcode on your page to display the pins [pinterest_pinboard username="pinterest"].
My latest pins are not showing on my website

The Pinterest Pinboard Widget caches the RSS feed from Pinterest itself every 15 minutes. This improves loading time of your website, but may show a new pin with a slight delay. A just added pin also takes some time to show up in Pinterest’s RSS feed.

Can I disable caching?

In the current version caching is always enabled (15 minutes). Future versions of the plugin will allow you to set the caching interval or disable caching completely.

Can I add a Follow Me button?

The current version show a ‘more pins’ link only. Future versions of the plugin will have more choices of buttons provided by Pinterest.

I want to add a Pinboard to a page. Is this possible?

Yes, since version 1.0.5 the plugin support a shortcode pinterest_pinboard. The following argument can be supplied:

  • username: The pinterest username to retrieve the pins for
  • rows: Nr. of rows of pins to display
  • cols: Nr. of columns of pins to display
  • new_window: Either 0 (open url in same window) or 1 (open url in new window)

Some examples of the shortcode uses are below. Retrieve 9 pins for user pinterest:

[pinterest_pinboard username="pinterest" rows=3 cols=3]

Retrieve 30 pins for user pinterest and open links in a new window:

[pinterest_pinboard username="pinterest" rows=3 cols=10 new_window=1]

使用者評論

2017 年 6 月 12 日
This plugin works, it is a little wiggly about placement but can be dealt with if you know some CSS/HTML. It does go "out" sometimes but not too bad. Really it has been surprisingly durable over many months now. I do wonder why they don't release an update, even if just a minor log change. The lapse is too long imo.
閱讀全部 7 則使用者評論

參與者及開發者

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

參與者

將 Pinterest Pinboard Widget 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.7

  • Fixed wrong fetch url (caused: Unable to load Pinterest pins for)

1.0.6

  • Fix broken pinboard layout.

1.0.5

  • Enable shortcode support.
  • Use protocol relative urls for pins to solve issues with https.

1.0.4

  • Fix PHP notice, see: https://wordpress.org/support/topic/use-of-undefined-constant-1

1.0.3

  • Add setting to allow links to be opened in a new window
  • Set CSS for pinboard widget images to display inline, regardless of the current theme.
  • Move inline CSS to css file
  • Remove unittest from the release
  • Minor code fixes
  • Minor CSS fixes

1.0.2

  • When server runs https:// also retrieve the pins from Pinterest that way
  • Fixed a bug when pin description contained a quote (“)
  • Replaced inline php with echo

1.0.1

  • CSS enhancements
  • Output HTML comment line for troubleshooting purposes

1.0.0

  • Initial version