內容簡介
Recent Photos Plugin 提供一個小工具,在側邊欄中顯示媒體庫中最近的 n 張照片。
可以通過自定義的 CSS 進行顯示的自定義或集成到主樣式表文件中。
此外,還提供了使用 Thickbox 的選項(連同必要的 patch 代碼一起使用 Thickbox)
演示站點:
使用預設佈景主題
自定義版本
作者資訊:
在Twitter 上關注我或成為我的 facebook 的朋友
配置選項
標題:小工具的標題將根據您的佈景主題顯示
照片數量:在側邊欄中顯示的照片數量
隨機排序:勾選以隨機排序顯示照片
瀏覽照片鏈接:您的照片/圖庫頁的完整鏈接
如果您不想顯示該鏈接,請留空。
使用 Thickbox:啟用/禁用此小工具的 Thickbox
WordPress 路徑:僅適用於啟用了 Thickbox
這個選項是必要的,以提供用於正確顯示 Thickbox 有關圖片的 patch
(loadinganimation 和 close)。如果您的 WordPress 安裝在子目錄中,請提供相應的路徑
然後加上反斜線
例如:wordpress/
當 WP 安裝在“wordpress”子目錄中時
使用自定義 CSS:啟用/禁用使用自定義 CSS
自定義 CSS:為了使此插件更好的顯示,需要定義以下 CSS ID 和類
#recent_photos_envelope{margin:0 0 30px 0;}
.recent_photo_image a {float:left;display:inline;margin:0 16px 15px 0;border:1px dashed #888;padding:5px}
.recent_photo_image a:hover {border:1px dashed #000}
上面的 CSS 代碼是隨插件提供的默認 CSS
外掛標籤
開發者團隊
原文外掛簡介
Recent Photos Plugin provides with a widget to display n numbers of recent photos from the media library in the sidebar.
The display can be customized through custom css or integrated in main style sheet file.
Also provides an option to use Thickbox (along with the patch code necessary for running thickbox)
Demosites:
Operation with default theme
Customized Version
Author info:
Follow me on Twitter or become my Friend on facebook
Configuration Options
Title: Title for the widget will be displayed as per your theme
Number of the photos: Number of photos that will be displayed in the sidebar
Randomize: Check to display photos in random order
Browse Photo Link: Full link to your photos/gallery page
Leave blank if you don’t want to show the link.
Use Thickbox: Enables/Disables the use of thickbox for this widget
WordPress Path: Applicable only if Thickbox is enabled
This option is necessary to provide the patch for thickbox to correctly display thickbox related images
(loadinganimation and close). If your wordpress installation is in a subdirectory provide the path for the same
followed by a forward slash
Eg. wordpress/
When the WP installation is in ‘wordpress’ subdirectory
Use Custom CSS: Enable/Disables the use of Custom CSS
Custom CSS: For styling this plugin requires following CSS ids and classes to be defined
#recent_photos_envelope{margin:0 0 30px 0;}
.recent_photo_image a {float:left;display:inline;margin:0 16px 15px 0;border:1px dashed #888;padding:5px}
.recent_photo_image a:hover {border:1px dashed #000}
The above css code is default css provided with the plugin
