內容簡介
Fidgetr 是一個 WordPress widget,以一種吸引人的方式顯示你 Flickr 照片流(photostream)中的最新照片。它支援自己的主題(themes),並且非常簡單易用,兼容大多數 WordPress 主題。查看更改記錄以了解更新內容!
Fidgetr 要求使用 PHP 5.0 或更新、並且 WordPress 2.8 或更新版本。
如欲瞭解我的 WordPress 外掛新版本和其他資訊,請追蹤我在 Twitter 的帳號:@reaperhulk。
主題開發常見問答
我如何創建一個主題?
在主題目錄中查看 basic.theme.php 文件,以了解如何解析 fidgetr 輸出的 JSON 結構,也可以編寫 PHP 代碼。
如何新增主題到設定下拉列表中?
只需創建一個名為 yourname.theme.php 的文件,其中包含你的數據。如果你有 CSS/JS 輔助文件,則將其包含在 theme_includes/yourname/ 目錄中。
請注意,在 Fidgetr 中,JavaScript 文件具有非常嚴格的命名結構,以允許透過 WP 進行正確的排隊,並減少與其他外掛的衝突。你的文件名必須命名為 handle-ver-deps.js。不要在 handle 中使用 – 或 _ 為分隔符。此外,版本號(ver)必須是數字形式。多個依賴項可以使用下劃線作為分隔。例如:slimbox-2.01-jquery.js,somelib-1.0-jquery_jquery-ui-core.js。請確保正確命名你的腳本,以避免與其他 WordPress 外掛產生衝突。
授權
版權所有 (C) 2010 Paul Kehrer
本程式乃自由軟體,遵從GNU 通用公共许可证 (GPL) 第 2 版或其更新、發行和修改均享有合法權利。
本程式是基於無保證任何瑕疵的基礎,不具有明示或隱含的任何保證,包括但不限於特定目的的商用性保證。
要了解更多詳細資訊,請參閱GNU 通用公共许可证。
你應當收到一份 GNU 通用公共许可证副本;如果沒有,請寫信至Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Fidgetr is a WordPress widget that displays the latest photos from your Flickr photostream in an attractive manner. It features support for its own themes along with very simple setup and compatibility with most WordPress themes. Check the changelog to see what’s new!
Fidgetr requires PHP 5.0 or newer as well as WordPress 2.8 or newer.
Catch new releases and other information about my plugins by following @reaperhulk on Twitter.
Theme Development FAQ
How do I make a theme?
Check out the basic.theme.php file in the themes directory to see a very basic example of how to parse the JSON structure that fidgetr outputs. You can also write PHP.
How do I make new themes show up in the configuration dropdown?
Simply create a file called yourname.theme.php with your data. If you have a CSS/JS supplement add those support files in a directory theme_includes/yourname/
Please note that in Fidgetr javascript files have a very strict naming structure to allow proper queueing via WP and reduce conflicts with other plugins. Your file must be named handle-ver-deps.js. Do not use – or _ in the handle as they are delimiters. Additionally, ver must be numeric. Multiple deps can be provided via underscore. Examples: slimbox-2.01-jquery.js , somelib-1.0-jquery_jquery-ui-core.js. Be sure to name your scripts correctly to avoid conflicts with other wordpress plugins.
License
Copyright 2010 Paul Kehrer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
