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

wp-all-posts-page-link

外掛說明

Display page link for all posts. Tested on wordpress 2.8.2 and 2.8.4 and 2.8.5, on bugs found.

安裝方式

  1. Upload wp-all-posts-pages-link.php to the /wp-content/plugins/wp-all-posts-page-link directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Place in the index.php of your templates. And the result will be:
    “Prev Page 1 2 3 Next Page”.
  4. You may change the page number form to set parameters like all_posts_page_link(‘Prev’, ‘Next’, ‘P’). If so the result will be:
    “Prev Page P1 P2 P3 Next Page”.
  5. If you want to display with reverse page number, you may set parameter like all_posts_page_link(‘Prev’, ‘Next’, ”, 0, ). If so the result will be:
    “Prev Page 3 2 1 Next Page”. In the reverse form, the latest is 3.

常見問題集

What’s the format of the output?

The format of output as follows(current page number is 1):

How to customize prev and next lable?

You can set them on the arguments of function all_posts_page_link, like all_posts_page_link(‘–‘, ‘++’, ‘Page’) . For these arguments, the output will as follows(current page number is 1):

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈wp-all-posts-page-link〉的開發相關工作。

參與者

將〈wp-all-posts-page-link〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • first version.

1.1

  • Remove class from
  • Add option for reverse display. This means you can chose pages like:

OR

In the reverse form, the Page3 is the latest. Othrwise Page1 is the latest.