[WordPress] 外掛分享: Home Page Slideshow

首頁外掛目錄 › Home Page Slideshow
100+
安裝啟用
★★★★★
5/5 分(3 則評價)
4168 天前
最後更新
問題解決
WordPress 3.0+ v1.2 上架:2014-08-03

內容簡介

這個外掛會在WordPress管理介面的「設定」選單下建立一個「Home Slideshow」選項頁面,讓編輯和管理員可以在該頁面上建立和管理個別的幻燈片。這些幻燈片可以透過簡單的「[home_slideshow]」shortcode在網站首頁上顯示為動態幻燈片。(查看範例幻燈片)

此外掛支援一個選用的shortcode屬性:

[home_slideshow options="timeout=5000"]

options:此屬性可用於覆寫預設的幻燈片選項或設置自定義選項。屬性值採用查詢字符串格式,例如:「option1=value1&option2=value2」等。選項名稱以標準Cycle2格式,不需要「data-cycle-」前綴。請參閱Cycle2網站以獲取文檔和支援的選項資訊。

附註

幻燈片包括圖像(必要項目)和可選的標題、副標題和連結。

選擇圖像時可以設置連結和圖像大小。(建議使用全尺寸圖像。)

幻燈片和幻燈片都以其容器的100%寬度為基礎。上傳的圖像應足夠寬,以適應您想要它們出現在的幻燈片中。

默認顯示:幻燈片圖像區域的長寬比由第一個圖像設置;圖像顯示在幻燈片容器的100%寬度/高度中;在包含水平和垂直對齊圖像的幻燈片中,圖像會呈現縮放形式。

默認CSS ID以「hss-」開頭,Cycle2類以「cycle-」開頭。默認幻燈片ID為「home-slideshow」。默認CSS樣式是使用Twenty Thirteen佈景主題創建的,其他主題可能需要進行一些自定義CSS更改。

如果將圖像大小調整為所需的幻燈片容器/長寬比,則可以使幻燈片的外觀和性能最佳化。

此外掛使用jQuery Cycle2。如果在同一頁面上使用舊版Cycle,Cycle2可能會與之衝突。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon