该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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

用法

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

用法

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订阅开发日志