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

WP Page Numbers

外掛說明

User friendly navigation

With page numbers instead of next and previous links users can easily navigate much quicker to the page they want. It is good for SEO (Search Engine Optimization) as well, because it creates a tighter inner link structure. Works with all well known browsers (Internet Explorer, Firefox, Opera and Safari).

Updates 0.5

  • Fixed bug with page numbers disappearing

Updates 0.4

  • Added optional start and end code link wp_page_numbers($start, $end)
  • Changed get_bloginfo(url) to get_bloginfo(wpurl)

Updates 0.3

  • Changed get_settings (deprecated) to get_bloginfo (bugfix)
  • Added missing echos, which should fix the URLs to the preview images in admin
  • Fixed 0 … 1 problem by checking if the page is front page or archive

Updates 0.2

  • 5 page numbers themes – See screenshots for a preview!
  • Put some “reset”-code in the themes to make it look the same on all themes

Settings / Options

  • Custom texts and arrows
  • Maximum number of pages to show at the same time
  • Custom stylesheet folder (else default is used)
  • Turn stylesheet off
  • Turn off page information (page 3 of 5)
  • Turn off next and previous page
  • Turn off the first and end page numbers
  • Turn off the numbers

Live demo (at the bottom)!

螢幕擷圖

  • This is what the page numbers looks like in default mode.

安裝方式

  1. Upload the FOLDER ‘wp-page-numbers’ to the /wp-content/plugins/
  2. Activate the plugin ‘WP Page Numbers’ through the ‘Plugins’ menu in admin
  3. Go to ‘Options’ or ‘Settings’ and then ‘WP Page Numbers’ to change the options

Usage

Replace the the ‘next_posts_link()’ and ‘previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).

<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>

常見問題集

Installation Instructions
  1. Upload the FOLDER ‘wp-page-numbers’ to the /wp-content/plugins/
  2. Activate the plugin ‘WP Page Numbers’ through the ‘Plugins’ menu in admin
  3. Go to ‘Options’ or ‘Settings’ and then ‘WP Page Numbers’ to change the options

Usage

Replace the the ‘next_posts_link()’ and ‘previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).

<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
How do I report a bug?

Contact me here. Describe the problem as good as you can, your plugin version, WordPress version and possible conflicting plugins and so on.

How can I support this plugin?

Spread the word, report bugs and give med feedback.

貢獻者及開發者

WP Page Numbers 外掛為開源軟體。以下人員對這個外掛做出了貢獻。

將 WP Page Numbers 外掛以你的母語進行本地化。

對開發相關資訊感興趣?

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