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

Home Page Slideshow

外掛說明

This plugin creates a “Home Slideshow” options page under the “Settings” menu in the WordPress admin. Editors and admins can create and manage individual slides on this page. These slides can then be displayed as a dynamic slideshow on a site’s home page using the simple ‘[home_slideshow]’ shortcode. (View an example slideshow)

The plugin supports one optional “options” shortcode attribute:

[home_slideshow options="timeout=5000"]

options: This attribute can be used to override default slideshow options or set custom options. Attribute values use query string format, e.g.: ‘option1=value1&option2=value2’ etc. Option names are in standard Cycle2 format without ‘data-cycle-‘ prefix. See the Cycle2 website for documentation and supported options.

Notes

Slides include image (required) and optional title, subtitle and link.

Links and image size can be set when selecting image. (Full size images recommended.)

Slideshows and slides are 100% the width of their container. Upload images that are at least as wide as the slideshow you want them to appear in.

Default Display: Aspect ratio of slideshow image area is set by the first image; images appear at 100% width / height of the slide container; images will show scaling in slideshows that contain both horizontally and vertically aligned images.

Default CSS ids begin with “hss-“, Cycle2 classes with “cycle-“. Default slideshow id is “home-slideshow”. Default CSS styles were created using Twenty Thirteen theme — some theme CSS customization may be necessary for other themes.

Slideshows look and perform best if images are sized to desired slideshow container / aspect ratio.

This plugin uses jQuery Cycle2. Cycle2 may conflict with previous versions of Cycle if used on the same page.

螢幕擷圖

  • The “Home Page Slideshow” settings screen showing individual slides.
  • An “Edit Page” screen with a [home_slideshow] shortcode inserted into the visual editor. This is where the slideshow will be displayed.
  • A screen capture of a home page slideshow in the Twenty Thirteen theme. View a working slideshow.
  • Mobile view (320 x 480px)

安裝方式

  1. Download and unzip the plugin file.
  2. Upload the unzipped ‘home-page-slideshow’ directory to your site’s ‘/wp-content/plugins/’ directory.
  3. Activate the “Home Page Slideshow” plugin through the ‘Plugins’ menu in WordPress.

使用者評論

2016 年 9 月 3 日
Makes a great home page slide show - is beautifully mobile ready. Easy to use! Be sure each image is the same size on upload. Be sure the width of the image is as wide as your webpage because it will stretch them. Adding text overlay's is a great tool for SEO. Being able to add hyperlinks to each side makes this a very practical tool. Thank you!
2016 年 9 月 3 日
Simple, very straight-forward and good-looking. What do you want more? Thx a lot for this plugin.
閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

將〈Home Page Slideshow〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.2

  • Minor display improvements

1.1

  • v. 1.0 housecleaning

1.0

  • Initial release.