-
wordpress all posts page link plugin
by j2trip on 9:25 AM
Comments (0)
wp-all-posts-page-link
plugin for display all posts page link. Chinese Version >>>
It’s very useful to add all page link on the bottom of frontpage. Because if there all so many pages, then uses can pick up the special page to view.
This plugin is to display all posts page link. And not display page link for the special post which has long text.
The plugin of wp-all-posts-page-link is very simple, there are only two functions in fact. And this plugin doesn’t provide any options page to set.
It’s view just like this:
Version:
1.0, 20090821 Released It was tested on wordpress 2.8.2 and 2.8.4, no bugs found.
1.1, 20091023 Released Remove class from <a href=”">. Add option for reverse display.
Installation:
1. Upload `wp-all-posts-page-link.php`, `readme.txt`, `readme-chinese-simple.txt` 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.PS:
- The codes: <? if(function_exists(”all_posts_page_link”)) { all_posts_page_link(’Prev’, ‘Next’); } ?> should placed behind the follow section codes:
if (have_posts()){
while (have_posts()) : the_post();……………..
endwhile
}
- If you want to chage the page number form, you may set parameter like all_posts_page_link(’Prev’, ‘Next’, ‘P’) . If so the result will be:
Prev Page P1 P2 P3 Next Page
- If you want to display with reverse page number, you may set parameter like all_posts_page_link(’Prev’, ‘Next’, ”, 0, true). If so the result will be:
Prev Page 3 2 1 Next Page
In the reverse form, the latest is 3.
Download address: wordpres.org
- The codes: <? if(function_exists(”all_posts_page_link”)) { all_posts_page_link(’Prev’, ‘Next’); } ?> should placed behind the follow section codes:



