Title: Flickr Header
Author: mltsy
Published: <strong>2012 年 9 月 13 日</strong>
Last modified: 2012 年 9 月 17 日

---

搜尋外掛

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

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

# Flickr Header

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

[下載](https://downloads.wordpress.org/plugin/flickr-header.zip)

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

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

## 外掛說明

This WordPress plugin allows you to choose a photo from Flickr’s collection of
 
Creative Commons licensed photos, crop it, and use it as the header for your WordPress
site. You must setup your own Flickr API key to use it.

This plugin is still in development, and has only been tested with the
 TwentyEleven
theme. There are several features that are not implemented, including deactivating
a Flickr header. As it is my first wordpress plugin, I expect it will break for 
some people. If it does, please create an issue ticket in the GitHub repository,
where this project is maintained:

https://github.com/ownlocal/flickr-header

Or even better – submit a pull request! 😉

### Usage

To use the plugin, you must have a flickr API key. Sign up for one at:
 http://www.
flickr.com/services/apps/create/apply

You must decide whether you will be using the plugin for commercial or
 non-commercial
putposes, and choose the corresponding API key.

Once your template is updated and you have your API key:

### 1. Enter your API key

#### Option A) Regular WordPress Installation

From your site’s Dashboard, go to “Appearance > Flickr Header”, enter your API key
and click “Update API key”.

#### Option B) Multisite Installation

From the Network Dashboard, click “Settings > Flickr Header”, enter your API key
and hit “Update Key”

### 2. Select an image

 1. Go to “Appearance > Flickr Header” from your site’s dashboard
 2. Type a term in the search box to search for an image
 3. Click on an image to select it and hit “Save Changes”
 4. Adjust the crop box to your hearts desire, and hit “Update Crop”
 5. Load your site, and behold the beauty… or else, submit a bug report 😉

## 安裝方式

 1. Install this plugin from the ‘Plugins > Install’ page in WordPress.
 2. Activate the plugin for your site.
 3. Update your header template to support Flickr Header…

To use it, simply add `<?php flickr_header_html(); ?>` in your header template
 
to insert the header.

It is possible to use this plugin along-side custom-headers (so you can choose
 
which you want to use at any time). Similarly to the custom-header in WP core, there
is a functionto test whether a Flickr header image is selected: get_flickr_header_url(),
which can be used to test the existence of a Flickr header, and display it if it
exists, or else use the WP custom header.

Here is the recommended template code:

    ```
    if ( get_flickr_header_url() ) {
      flickr_header_html();
    } else {
      //Typical custom-header code:
      $header_image = get_header_image();
      if ( $header_image ) :
      // ...
    }
    ```

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ mltsy ](https://profiles.wordpress.org/mltsy/)
 *   [ OwnLocal ](https://profiles.wordpress.org/ownlocal/)

[將〈Flickr Header〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/flickr-header)

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

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

## 變更記錄

#### 0.3

 * Added a network-wide API key setting
 * Changed author and copyright to OwnLocal

#### 0.2

 * Added cropping
 * Finished initial attribution functionality
 * Added necessary plugin readme file and comments

#### 0.1

 * Initial admin, Flickr search and header display functionality

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  已測試相容的 WordPress 版本 **3.4.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/flickr-header/)
 * 標籤:
 * [custom](https://tw.wordpress.org/plugins/tags/custom/)[flickr](https://tw.wordpress.org/plugins/tags/flickr/)
   [header](https://tw.wordpress.org/plugins/tags/header/)
 *  [進階檢視](https://tw.wordpress.org/plugins/flickr-header/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

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

## 參與者

 *   [ mltsy ](https://profiles.wordpress.org/mltsy/)
 *   [ OwnLocal ](https://profiles.wordpress.org/ownlocal/)

## 技術支援

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

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