前言介紹
- 這款 WordPress 外掛「Proper Pagination」是 2009-07-28 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2010-01-04,距離現在已有 5599 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.7 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
swinton |
外掛標籤
framework | usability | navigation | pagination |
內容簡介
此外掛主要針對主題開發人員,旨在簡化 WordPress 列表頁面(如存檔、作者、分類、搜尋、標籤列表等)的語義化、可用性分割控制器的建立。
受到「The Loop」和「WP_Query」的啟發,此外掛不會干擾主題開發人員操作,而是透過提供以下樣板標籤來建立所需的標記:
pp_has_pagination - 確定當前「檢視」是否有任何分頁顯示,即所瀏覽的內容是否跨越了多個頁面
pp_the_pagination - 開始分割上下文環境,應在每次循環迭代的開始呼叫
pp_rewind_pagination - 重置分割上下文環境,以便可以多次迭代分割循環
pp_is_current_page - 用於分割循環中,返回一個布林值,指示當前循環迭代是否為當前頁面
pp_has_previous_page - 用於分割循環中,返回一個布林值,指示是否有上一頁,例如在第 1 頁時就不存在上一頁
pp_has_next_page - 用於分割循環中,返回一個布林值,指示是否有下一頁,例如在第 N 頁時就不存在下一頁
pp_the_page_permalink - 用於分割循環中,將當前頁面的永久連結 URL 輸出
pp_the_previous_page_permalink - 用於分割循環中,將上一頁的永久連結 URL 輸出
pp_the_next_page_permalink - 用於分割循環中,將下一頁的永久連結 URL 輸出
pp_the_first_page_permalink - 用於分割循環中,將第一頁的永久連結 URL 輸出
pp_the_last_page_permalink - 用於分割循環中,將最後一頁的永久連結 URL 輸出
pp_the_page_num - 用於分割循環中,輸出正在迭代的當前頁面的頁碼
例如,以下樣板標籤的排列將提供一個基本的分頁控制:
newer stories
newer stories
原文外掛簡介
This plugin is primarily aimed at theme developers, and intends to ease the
creation of semantic, usable pagination controls for WordPress listings pages, such as
arhive, author, category, search, tag listings etc.
Inspired by The Loop and WP_Query, this plugin stays out of the theme
developer’s way, allowing her to create the markup needed by providing the
following template tags:
pp_has_pagination – determines whether the current ‘view’ has any pagination to display, i.e. whether the content being browsed spans more than 1 page
pp_the_pagination – initiates the pagination context, should be called at the beginning of each loop iteration
pp_rewind_pagination – resets the pagination context, so that the pagination loop can be iterated over multiple times
pp_is_current_page – for use in the pagination loop, returns a boolean indicating whether the current loop iteration is for the current page
pp_has_previous_page – for use in the pagination loop, returns a boolean indicating whether there is a previous page, e.g. when at page 1, there is no previous page
pp_has_next_page – for use in the pagination loop, returns a boolean indicating whether there is a next page, e.g. when at page N of N, there is no next page
pp_the_page_permalink – for use in the pagination loop, echos the permalink for the current page
pp_the_previous_page_permalink – for use in the pagination loop, echos the permalink for the previous page
pp_the_next_page_permalink – for use in the pagination loop, echos the permalink for the next page
pp_the_first_page_permalink – for use in the pagination loop, echos the permalink for the first page
pp_the_last_page_permalink – for use in the pagination loop, echos the permalink for the last page
pp_the_page_num – for use in the pagination loop, echos the page number of the current page being iterated over
For example, the following arrangement of template tags would provide a rudimentary pagination control:
The template tags on offer by this plugin provide the theme developer with an
unlimited array of possibilities for marking up the pagination control in a
semantic manner.
For more information, see the original blog post.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Proper Pagination」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Core Framework 》總結:Core Framework是一個簡單易用、樂趣滿滿的WordPress外掛,如同你的CSS瑞士軍刀,幫助你輕鬆打造完美網站。, , 問題與答案:, - Core Framework是什麼...。
Elements For Elementor 》Elements For Elementor, 這個外掛為Elementor Page Builder加入了一些實用的元素。所有元件都是完全響應式且具備視網膜級別的畫質。。
Gantry 5 Framework 》Gantry 5是一個全面的建構模組集,可協助快速將設計實現為具有彈性和功能強大的網站主題。, , 請訪問http://gantry.org以下載免費的WordPress Gantry 5預設主...。
Gantry 4 Framework 》, Gantry 5 現已推出 WordPress 外掛!請造訪 Gantry 5 的外掛頁面,以獲得更多資訊。, , Gantry 4 是專為建立靈活強大的網站主題而設計的一套全面的建構元件...。
Kopa Framework 》「Kopa Framework」外掛是一種簡單的方式,讓您在 WordPress 網站上設置主題選項、側邊欄管理器、版面管理器和自訂版面功能。。
WooCommerce Custom Product Data Fields 》WooCommerce Custom Product Data Fields 是一個簡單的外掛程式,可以幫助您輕鬆建立額外的產品資料欄位,例如次要產品標題、供應商資訊、個別產品的自訂訊息...。
WordPress Plugin Framework Reloaded 》這是一個專為 WordPress 外掛開發者所製作的外掛程式。僅當某些其他外掛需要時,使用者才需要安裝它。因此,我們必須對 WordPress Plugin Framework Reloaded...。
Funtionalities for Alpus theme 》總結:這個外掛為Alpus主題增加了許多高級功能,如Elementor頁面構建元素、標題構建元素和主題選項,以擴展該主題的功能。, , 問題與答案:, 1. 這個外掛為哪...。
LAPDI Easy Dev 》Let A Pro Do IT!(LAPDI)的 Easy Dev 是 WordPress 插件開發的框架,以下是一些特點。Easy Dev 讓面向對象設計再次熱門,並且它是 Let A Pro Do IT!! 創建...。
Framework Mobilede 》現在,您可以輕鬆地使用一個框架在您的網站上顯示Mobile.de的車輛清單。, 網站: https://domisiding.de。
Basticom Framework 》Basticom 框架外掛可以讓您修改 WordPress 的某些核心功能,以及微調一些額外的設置。此外,這個框架還提供了一組易於在主題中使用的 PHP 函數(指令)。。
Feather 》Feather 是一個由 WPBandit 所開發的輕量且功能強大的 WordPress 主題框架。透過單一配置檔案即可輕鬆配置您的主題。造訪 Feather 的 網站 以瞭解更多資訊。。
Premium Addons for KingComposer 》使用「Premium Addons for KingComposer」可幫助您創建網頁,而不需要觸碰任何代碼。, 它還擁有許多其他功能,協助您打造更好的網站:, , 切換元素選擇, 自動...。
Elastic Theme Editor 》Elastic是WordPress的主題引擎和交互主題編輯器。, 重要提示, Elastic仍在開發中,我們不建議您在實際網站上使用Elastic主題。我們盡力使Elastic盡可能少出現...。
WP Helper 》wp_helper 具有 4 種不同的外掛程式。, , posttype_helper, taxonomy_helper, attachment_helper, adminpage_helper, , 每個外掛程式都提供額外的功能,讓您...。