Linux 软件免费装

wp-all-posts-page-link

开发者 sandapao
更新时间 2010年7月29日 20:41
捐献地址: 去捐款
PHP版本: 2.8.2 及以上
WordPress版本: 2.8.5

标签

posts page link

下载

1.0 1.1

详情介绍:

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 <? if(function_exists("all_posts_page_link")) { all_posts_page_link('Prev', 'Next'); } ?> 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.

更新日志:

1.0 1.1 OR In the reverse form, the Page3 is the latest. Othrwise Page1 is the latest.