
內容簡介
創建頁面的上一頁/下一頁連結。添加 next_page_link() 和 previous_page_link() 函數,用於鏈接兄弟頁面。
如果您的頁面沒有直接的兄弟頁面,該外掛將嘗試跳轉到當前頁面的父級並獲取父級的下一個兄弟頁面。如果啟用,該外掛還將從結尾->開始和開始->結尾進行循環。
此外掛非常適合利用 WordPress 進行演示。如果您創建了一組頁面,該外掛將循環顯示它們。此外,您還可以利用一些 JavaScript 創建計時器,自動從一頁跳轉到另一頁。
此外掛基於 Matt McInvale 的 ‘Next and Previous Page not Post’。儘管自他於 09 年發布以來已經幾乎完全重寫。該外掛更加優化以利用較新的插件技術。還包括來自 banesto 的代碼,涉及到父級頁面的引用。還增加了類似 $args 陣列的其他功能,以便今後更容易進行自定義。此外掛非常適合利用 WordPress 作為演示工具。
請參閱 FAQ 頁面以獲取片段和示例
外掛標籤
開發者團隊
原文外掛簡介
Create next/previous links for pages. Adds the functions next_page_link() and previous_page_link() which links sibling to page(s).
If your page doesn’t have a direct sibling the plugin will try to go out to the parent of the current page and get the parent’s next sibling. If enabled the plugin will also loop from end->beginning and beginning->end.
This plugin is great for utilizing WordPress for presentations. If you create a set of pages. This plugin will cycle through them. Additionally you could utilize some javascript to create a timer to automatically go from page to page.
This plugin is based on ‘Next and Previous Page not Post’ by Matt McInvale. Although it’s gone through almost a complete rewrite from his release in 09. This plugin is a bit more optimized to take advantage of newer plugin techniques. Includes code from banesto as well regarding references to grandparent pages. Also added in additional features such as $args array for easier customization down the road. This plugin is great for utilizing wordpress as a presentation tool.
See the FAQs Page for Snippets and Examples
