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

Recent Photos

外掛說明

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

安裝方式

Requirements

  • PHP: 4.4.x or 5.x.x
  • mySQL: 4.0, 4.1 or 5.x
  • WordPress: 2.9 or newer

Basic Installation

  • Plugin folder in the WordPress plugins folder must be recent-photos
  • Upload folder recent-photos to the /wp-content/plugins/ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Go to WP Admin > Appereance > Widgets and put the ‘Recent Photos’ widget in your sidebar
  • Configure the options as per your requirements and wordpress installation

Upgrade Instructions

  • Just Click ‘Upgrade Plugin Automatically’ within the WordPress Plugin Admin Area
  • Go to WP Admin > Appereance > Widgets and put the ‘Recent Photos’ widget in your sidebar
  • Configure the options as per your requirements and wordpress installation (New option for Randomize should be there)

常見問題集

How to integrate css code in your default style sheet?

Copy the default css code into your style sheet

recent_photos_envelope{margin:0 0 20px 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}

browsephotos{margin: 0 25px 10px 12px; float:right;}

Enable Use Custom CSS option in the widget admin

Make sure Custom CSS code textarea is blank (Should contain no spaces also)

使用者評論

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

參與者及開發者

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

參與者

將〈Recent Photos〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.0.2

  • Added option to randomize photos

0.0.1

  • Initial Release