內容簡介
這個外掛程式會自動將多頁文章轉換成 AJAX 輪播,只要啟用、選擇輪播的顯示選項就可以享受輕鬆的體驗。
注意:此外掛已不受維護。如果有人想要另開分支,可以到 [github 存儲庫](https://github.com/spencejs/Paged-Post-Slider) 查看。
WordPress 有一個很棒但知名度不高的 功能,可以將長文章拆分為多個頁面。然而,主要新聞和部落格網站的趨勢是將文章拆分為動態載入的輪播。雖然 WordPress 有許多輪播外掛程式可供使用,但沒有任何一個完全滿足此功能。這就是 Paged Post Slider 的用途:它使用 AJAX 技術取代 WordPress 內建的文章分頁設計,並提供幾乎不需要設定的輪播功能。
輪播所能做的事情:
使用 AJAX 基礎的輪播功能替代 WordPress 的文章分頁功能。
使用基於哈希的 URL 方便進行直接連結到特定幻燈片的操作,同時保留了瀏覽器「返回」按鈕的功能。
自動根據您設定的偏好,為輪播添加幻燈片導航和幻燈片計數器 (例如「1/5」)。
在 TinyMCE 文章編輯器中添加「插入分頁轉換」按鈕,方便您將內容分成多個頁面/幻燈片。
提供可選擇的樣式表選項,以簡單地美化幻燈片導航。
可選擇地允許無限環繞幻燈片。
可選擇地提供在單個頁面上查看所有幻燈片的連結。
可選擇地在每個幻燈片載入時滾動回頂部。
具有優美的降級殘差功能。如果找不到或卸載外掛,文章會像正常多頁文章一樣運作。
演示:
觀看此輪播的演示。
外掛標籤
開發者團隊
原文外掛簡介
Automagically turns multi-page posts into an ajax-based slideshow. Simply activate, choose the display options for your slider, and go!
NOTE: This plugin is no longer actively developed or supported. If anyone wants to fork it, check out the [github repository](https://github.com/spencejs/Paged-Post-Slider).
WordPress has an excellent, but little known, feature for splitting up long posts into multiple pages. However, a growing trend among major news and blog sites is instead to split up posts into dynamically loading sliders. While there are many slider plugins available for WordPress, none of them quite tackles this functionality. That’s where the Paged Post Slider comes in: it takes normal multi-page posts from WordPress and replaces them with an all-ajax slider that requires almost no setup.
What the slider does:
Replaces WordPress’ built-in post pagination funtionality with an ajax-based carousel.
Uses hash based URLs for easy direct linking to specific slides. This also preserves the functionality of the browser’s Back button.
Automatically adds slide navigation and a slide counter (e.g. ‘1 of 5’) to sliders according to the preferences you set.
Adds the ‘Insert Page Break’ button to the TinyMCE post editor so that you can easily split your content into multiple pages/slides.
Provides an optional stylesheet for (very) basic styling of the slider navigation.
Optionally allows infinite looping of slides.
Optionally provides a link to view all slides on a single page.
Optionally allows for scrolling back to top when each slide loads.
Degrades gracefully. If the plugin is missing or uninstalled, posts will behave exactly like normal multi-page posts.
Demo:
See a demo of the slider in action.
