WP-PageNavi - Version 2.11

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-PageNavi
Version 2.11
Comparing to
See all releases

Code changes from version 2.00 to 2.11

pagenavi.php DELETED
@@ -1,66 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: WP-PageNavi
4
- Plugin URI: http://www.lesterchan.net/portfolio/programming.php
5
- Description: Adds a more advanced page navigation to Wordpress.
6
- Version: 2.0
7
- Author: GaMerZ
8
- Author URI: http://www.lesterchan.net
9
- */
10
-
11
-
12
- /* Copyright 2005 Lester Chan (email : gamerz84@hotmail.com)
13
-
14
- This program is free software; you can redistribute it and/or modify
15
- it under the terms of the GNU General Public License as published by
16
- the Free Software Foundation; either version 2 of the License, or
17
- (at your option) any later version.
18
-
19
- This program is distributed in the hope that it will be useful,
20
- but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- GNU General Public License for more details.
23
-
24
- You should have received a copy of the GNU General Public License
25
- along with this program; if not, write to the Free Software
26
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27
- */
28
-
29
-
30
- ### Function: Page Navigation
31
- function wp_pagenavi($before=' ', $after=' ', $prelabel='&laquo;', $nxtlabel='&raquo;') {
32
- global $request, $posts_per_page, $wpdb, $paged;
33
- if (!is_single()) {
34
- if (get_query_var('what_to_show') == 'posts') {
35
- preg_match('#FROM\s(.*)\sGROUP BY#siU', $request, $matches);
36
- $fromwhere = $matches[1];
37
- $numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
38
- $max_page = ceil($numposts /$posts_per_page);
39
- } else {
40
- $max_page = 999999;
41
- }
42
- if(empty($paged)) {
43
- $paged = 1;
44
- }
45
- echo "$before Pages ($max_page): <b>";
46
- if ($paged >= 4) {
47
- echo '<a href="'.get_pagenum_link().'">&laquo; First</a> ... ';
48
- }
49
- previous_posts_link($prelabel);
50
- for($i = $paged - 2 ; $i <= $paged +2; $i++) {
51
- if ($i >= 1 && $i <= $max_page) {
52
- if($i == $paged) {
53
- echo "[$i]";
54
- } else {
55
- echo ' <a href="'.get_pagenum_link($i).'">'.$i.'</a> ';
56
- }
57
- }
58
- }
59
- next_posts_link($nxtlabel, $max_page);
60
- if (($paged+2) < ($max_page)) {
61
- echo ' ... <a href="'.get_pagenum_link($max_page).'">Last &raquo;</a>';
62
- }
63
- echo "$after</b>";
64
- }
65
- }
66
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pagenavi/pagenavi-css.css ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ +----------------------------------------------------------------+
3
+ | |
4
+ | WordPress 2.1 Plugin: WP-PageNavi 2.11 |
5
+ | Copyright (c) 2007 Lester "GaMerZ" Chan |
6
+ | |
7
+ | File Written By: |
8
+ | - Lester "GaMerZ" Chan |
9
+ | - http://www.lesterchan.net |
10
+ | |
11
+ | File Information: |
12
+ | - Page Navigation CSS Style |
13
+ | - wp-content/plugins/pagenavi/pagenavi-css.css |
14
+ | |
15
+ +----------------------------------------------------------------+
16
+ */
17
+
18
+
19
+ .wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
20
+ padding: 2px 4px 2px 4px;
21
+ margin: 2px;
22
+ text-decoration: none;
23
+ border: 1px solid #0066cc;
24
+ color: #0066cc;
25
+ background-color: #FFFFFF;
26
+ }
27
+ .wp-pagenavi a:hover {
28
+ border: 1px solid #114477;
29
+ color: #114477;
30
+ background-color: #FFFFFF;
31
+ }
32
+ .wp-pagenavi span.pages {
33
+ padding: 2px 4px 2px 4px;
34
+ margin: 2px 2px 2px 2px;
35
+ color: #000000;
36
+ border: 1px solid #000000;
37
+ background-color: #FFFFFF;
38
+ }
39
+ .wp-pagenavi span.current {
40
+ padding: 2px 4px 2px 4px;
41
+ margin: 2px;
42
+ font-weight: bold;
43
+ border: 1px solid #000000;
44
+ color: #000000;
45
+ background-color: #FFFFFF;
46
+ }
47
+ .wp-pagenavi span.extend {
48
+ padding: 2px 4px 2px 4px;
49
+ margin: 2px;
50
+ border: 1px solid #000000;
51
+ color: #000000;
52
+ background-color: #FFFFFF;
53
+ }
pagenavi/pagenavi-options.php ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ +----------------------------------------------------------------+
4
+ | |
5
+ | WordPress 2.1 Plugin: WP-PageNavi 2.11 |
6
+ | Copyright (c) 2007 Lester "GaMerZ" Chan |
7
+ | |
8
+ | File Written By: |
9
+ | - Lester "GaMerZ" Chan |
10
+ | - http://www.lesterchan.net |
11
+ | |
12
+ | File Information: |
13
+ | - Page Navigation Options Page |
14
+ | - wp-content/plugins/pagenavi/pagenavi-options.php |
15
+ | |
16
+ +----------------------------------------------------------------+
17
+ */
18
+
19
+
20
+ ### Variables Variables Variables
21
+ $base_name = plugin_basename('pagenavi/pagenavi-options.php');
22
+ $base_page = 'admin.php?page='.$base_name;
23
+
24
+ ### If Form Is Submitted
25
+ if($_POST['Submit']) {
26
+ $pagenavi_options = array();
27
+ $pagenavi_options['pages_text'] = addslashes($_POST['pagenavi_pages_text']);
28
+ $pagenavi_options['current_text'] = addslashes($_POST['pagenavi_current_text']);
29
+ $pagenavi_options['page_text'] = addslashes($_POST['pagenavi_page_text']);
30
+ $pagenavi_options['first_text'] = addslashes($_POST['pagenavi_first_text']);
31
+ $pagenavi_options['last_text'] = addslashes($_POST['pagenavi_last_text']);
32
+ $pagenavi_options['next_text'] = addslashes($_POST['pagenavi_next_text']);
33
+ $pagenavi_options['prev_text'] = addslashes($_POST['pagenavi_prev_text']);
34
+ $pagenavi_options['dotright_text'] = addslashes($_POST['pagenavi_dotright_text']);
35
+ $pagenavi_options['dotleft_text'] = addslashes($_POST['pagenavi_dotleft_text']);
36
+ $pagenavi_options['style'] = intval(trim($_POST['pagenavi_style']));
37
+ $pagenavi_options['num_pages'] = intval(trim($_POST['pagenavi_num_pages']));
38
+ $pagenavi_options['always_show'] = intval(trim($_POST['pagenavi_always_show']));
39
+ $update_pagenavi_queries = array();
40
+ $update_pagenavi_text = array();
41
+ $update_pagenavi_queries[] = update_option('pagenavi_options', $pagenavi_options);
42
+ $update_pagenavi_text[] = __('Page Navigation Options', 'wp-pagenavi');
43
+ $i=0;
44
+ $text = '';
45
+ foreach($update_pagenavi_queries as $update_pagenavi_query) {
46
+ if($update_pagenavi_query) {
47
+ $text .= '<font color="green">'.$update_pagenavi_text[$i].' '.__('Updated', 'wp-pagenavi').'</font><br />';
48
+ }
49
+ $i++;
50
+ }
51
+ if(empty($text)) {
52
+ $text = '<font color="red">'.__('No Page Navigation Option Updated', 'wp-pagenavi').'</font>';
53
+ }
54
+ }
55
+
56
+ ### Get Page Navigation Options
57
+ $pagenavi_options = get_option('pagenavi_options');
58
+ ?>
59
+ <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
60
+ <div class="wrap">
61
+ <h2><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></h2>
62
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
63
+ <fieldset class="options">
64
+ <legend><?php _e('Page Navigation Text', 'wp-pagenavi'); ?></legend>
65
+ <table width="100%" border="0" cellspacing="3" cellpadding="3">
66
+ <tr valign="top">
67
+ <th align="left" width="30%"><?php _e('Text For Number Of Pages', 'wp-pagenavi'); ?></th>
68
+ <td align="left">
69
+ <input type="text" name="pagenavi_pages_text" value="<?php echo stripslashes($pagenavi_options['pages_text']); ?>" size="50" /><br />
70
+ %CURRENT_PAGE% - <?php _e('The current page number.', 'wp-pagenavi'); ?><br />
71
+ %TOTAL_PAGES% - <?php _e('The total number of pages.', 'wp-pagenavi'); ?>
72
+ </td>
73
+ </tr>
74
+ <tr valign="top">
75
+ <th align="left" width="30%"><?php _e('Text For Current Page', 'wp-pagenavi'); ?></th>
76
+ <td align="left">
77
+ <input type="text" name="pagenavi_current_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['current_text'])); ?>" size="30" /><br />
78
+ %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
79
+ </td>
80
+ </tr>
81
+ <tr valign="top">
82
+ <th align="left" width="30%"><?php _e('Text For Page', 'wp-pagenavi'); ?></th>
83
+ <td align="left">
84
+ <input type="text" name="pagenavi_page_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['page_text'])); ?>" size="30" /><br />
85
+ %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
86
+ </td>
87
+ </tr>
88
+ <tr valign="top">
89
+ <th align="left" width="30%"><?php _e('Text For First Post', 'wp-pagenavi'); ?></th>
90
+ <td align="left">
91
+ <input type="text" name="pagenavi_first_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['first_text'])); ?>" size="30" />
92
+ </td>
93
+ </tr>
94
+ <tr valign="top">
95
+ <th align="left" width="30%"><?php _e('Text For Last Post', 'wp-pagenavi'); ?></th>
96
+ <td align="left">
97
+ <input type="text" name="pagenavi_last_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['last_text'])); ?>" size="30" />
98
+ </td>
99
+ </tr>
100
+ <tr valign="top">
101
+ <th align="left" width="30%"><?php _e('Text For Next Post', 'wp-pagenavi'); ?></th>
102
+ <td align="left">
103
+ <input type="text" name="pagenavi_next_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['next_text'])); ?>" size="30" />
104
+ </td>
105
+ </tr>
106
+ <tr valign="top">
107
+ <th align="left" width="30%"><?php _e('Text For Previous Post', 'wp-pagenavi'); ?></th>
108
+ <td align="left">
109
+ <input type="text" name="pagenavi_prev_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['prev_text'])); ?>" size="30" />
110
+ </td>
111
+ </tr>
112
+ <tr valign="top">
113
+ <th align="left" width="30%"><?php _e('Text For Next ...', 'wp-pagenavi'); ?></th>
114
+ <td align="left">
115
+ <input type="text" name="pagenavi_dotright_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
116
+ </td>
117
+ </tr>
118
+ <tr valign="top">
119
+ <th align="left" width="30%"><?php _e('Text For Previous ...', 'wp-pagenavi'); ?></th>
120
+ <td align="left">
121
+ <input type="text" name="pagenavi_dotleft_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
122
+ </td>
123
+ </tr>
124
+ </table>
125
+ </fieldset>
126
+ <fieldset class="options">
127
+ <legend><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></legend>
128
+ <table width="100%" border="0" cellspacing="3" cellpadding="3">
129
+ <tr valign="top">
130
+ <th align="left" width="30%"><?php _e('Page Navigation Style', 'wp-pagenavi'); ?></th>
131
+ <td align="left">
132
+ <select name="pagenavi_style" size="1">
133
+ <option value="1"<?php selected('1', $pagenavi_options['style']); ?>><?php _e('Normal', 'wp-pagenavi'); ?></option>
134
+ <option value="2"<?php selected('2', $pagenavi_options['style']); ?>><?php _e('Drop Down List', 'wp-pagenavi'); ?></option>
135
+ </select>
136
+ </td>
137
+ </tr>
138
+ <tr valign="top">
139
+ <th align="left" width="30%"><?php _e('Number Of Many Pages To Show?', 'wp-pagenavi'); ?></th>
140
+ <td align="left">
141
+ <input type="text" name="pagenavi_num_pages" value="<?php echo stripslashes($pagenavi_options['num_pages']); ?>" size="4" />
142
+ </td>
143
+ </tr>
144
+ <tr valign="top">
145
+ <th align="left" width="30%"><?php _e('Always Show Page Navigation?', 'wp-pagenavi'); ?></th>
146
+ <td align="left">
147
+ <select name="pagenavi_always_show" size="1">
148
+ <option value="1"<?php selected('1', $pagenavi_options['always_show']); ?>><?php _e('Yes', 'wp-pagenavi'); ?></option>
149
+ <option value="0"<?php selected('0', $pagenavi_options['always_show']); ?>><?php _e('No', 'wp-pagenavi'); ?></option>
150
+ </select>
151
+ </td>
152
+ </tr>
153
+ </table>
154
+ </fieldset>
155
+ <div align="center">
156
+ <input type="submit" name="Submit" class="button" value="<?php _e('Update Options', 'wp-pagenavi'); ?>" />&nbsp;&nbsp;<input type="button" name="cancel" value="<?php _e('Cancel', 'wp-pagenavi'); ?>" class="button" onclick="javascript:history.go(-1)" />
157
+ </div>
158
+ </form>
159
+ </div>
pagenavi/pagenavi.php ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: WP-PageNavi
4
+ Plugin URI: http://www.lesterchan.net/portfolio/programming.php
5
+ Description: Adds a more advanced paging navigation to your WordPress blog.
6
+ Version: 2.11
7
+ Author: Lester 'GaMerZ' Chan
8
+ Author URI: http://www.lesterchan.net
9
+ */
10
+
11
+
12
+ /*
13
+ Copyright 2007 Lester Chan (email : gamerz84@hotmail.com)
14
+
15
+ This program is free software; you can redistribute it and/or modify
16
+ it under the terms of the GNU General Public License as published by
17
+ the Free Software Foundation; either version 2 of the License, or
18
+ (at your option) any later version.
19
+
20
+ This program is distributed in the hope that it will be useful,
21
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
+ GNU General Public License for more details.
24
+
25
+ You should have received a copy of the GNU General Public License
26
+ along with this program; if not, write to the Free Software
27
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
+ */
29
+
30
+
31
+ ### Create Text Domain For Translations
32
+ load_plugin_textdomain('wp-pagenavi', 'wp-content/plugins/pagenavi');
33
+
34
+
35
+ ### Function: Page Navigation Option Menu
36
+ add_action('admin_menu', 'pagenavi_menu');
37
+ function pagenavi_menu() {
38
+ if (function_exists('add_options_page')) {
39
+ add_options_page(__('PageNavi', 'wp-pagenavi'), __('PageNavi', 'wp-pagenavi'), 'manage_options', 'pagenavi/pagenavi-options.php') ;
40
+ }
41
+ }
42
+
43
+
44
+ ### Function: Page Navigation CSS
45
+ add_action('wp_head', 'pagenavi_css');
46
+ function pagenavi_css() {
47
+ echo "\n".'<!-- Start Of Script Generated By WP-PageNavi 2.11 -->'."\n";
48
+ echo '<link rel="stylesheet" href="'.get_option('siteurl').'/wp-content/plugins/pagenavi/pagenavi-css.css" type="text/css" media="screen" />'."\n";
49
+ echo '<!-- End Of Script Generated By WP-PageNavi 2.11 -->'."\n";
50
+ }
51
+
52
+
53
+ ### Function: Page Navigation: Boxed Style Paging
54
+ function wp_pagenavi() {
55
+ global $request, $posts_per_page, $wpdb, $paged;
56
+ if (!is_single()) {
57
+ $pagenavi_options = get_option('pagenavi_options');
58
+ $numposts = 0;
59
+ if(strpos(get_query_var('tag'), " ")) {
60
+ preg_match('#^(.*)\sLIMIT#siU', $request, $matches);
61
+ $fromwhere = $matches[1];
62
+ $results = $wpdb->get_results($fromwhere);
63
+ $numposts = count($results);
64
+ } else {
65
+ preg_match('#FROM\s*+(.+?)\s+(GROUP BY|ORDER BY)#si', $request, $matches);
66
+ $fromwhere = $matches[1];
67
+ $numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
68
+ }
69
+ $max_page = ceil($numposts/$posts_per_page);
70
+ if(empty($paged)) {
71
+ $paged = 1;
72
+ }
73
+ $pages_to_show = intval($pagenavi_options['num_pages']);
74
+ $pages_to_show_minus_1 = $pages_to_show-1;
75
+ $half_page_start = floor($pages_to_show_minus_1/2);
76
+ $half_page_end = ceil($pages_to_show_minus_1/2);
77
+ $start_page = $paged - $half_page_start;
78
+ if($start_page <= 0) {
79
+ $start_page = 1;
80
+ }
81
+ $end_page = $paged + $half_page_end;
82
+ if(($end_page - $start_page) != $pages_to_show_minus_1) {
83
+ $end_page = $start_page + $pages_to_show_minus_1;
84
+ }
85
+ if($end_page > $max_page) {
86
+ $start_page = $max_page - $pages_to_show_minus_1;
87
+ $end_page = $max_page;
88
+ }
89
+ if($start_page <= 0) {
90
+ $start_page = 1;
91
+ }
92
+ if($max_page > 1 || intval($pagenavi_options['always_show']) == 1) {
93
+ $pages_text = str_replace("%CURRENT_PAGE%", $paged, $pagenavi_options['pages_text']);
94
+ $pages_text = str_replace("%TOTAL_PAGES%", $max_page, $pages_text);
95
+ echo '<div class="wp-pagenavi">'."\n";
96
+ switch(intval($pagenavi_options['style'])) {
97
+ case 1:
98
+ echo '<span class="pages">'.$pages_text.'</span>';
99
+ if ($paged >= $pages_to_show_minus_1) {
100
+ echo '<a href="'.get_pagenum_link().'" title="'.$pagenavi_options['first_text'].'">'.$pagenavi_options['first_text'].'</a>';
101
+ if(!empty($pagenavi_options['dotleft_text'])) {
102
+ echo '<span class="extend">'.$pagenavi_options['dotleft_text'].'</span>';
103
+ }
104
+ }
105
+ previous_posts_link($pagenavi_options['prev_text']);
106
+ for($i = $start_page; $i <= $end_page; $i++) {
107
+ if($i == $paged) {
108
+ $current_page_text = str_replace("%PAGE_NUMBER%", $i, $pagenavi_options['current_text']);
109
+ echo '<span class="current">'.$current_page_text.'</span>';
110
+ } else {
111
+ $page_text = str_replace("%PAGE_NUMBER%", $i, $pagenavi_options['page_text']);
112
+ echo '<a href="'.get_pagenum_link($i).'" title="'.$page_text.'">'.$page_text.'</a>';
113
+ }
114
+ }
115
+ next_posts_link($pagenavi_options['next_text'], $max_page);
116
+ if ($end_page < $max_page) {
117
+ if(!empty($pagenavi_options['dotright_text'])) {
118
+ echo '<span class="extend">'.$pagenavi_options['dotright_text'].'</span>';
119
+ }
120
+ echo '<a href="'.get_pagenum_link($max_page).'" title="'.$pagenavi_options['last_text'].'">'.$pagenavi_options['last_text'].'</a>';
121
+ }
122
+ break;
123
+ case 2;
124
+ echo '<form action="'.htmlspecialchars($_SERVER['PHP_SELF']).'" method="get">'."\n";
125
+ echo '<select size="1" onchange="document.location.href = this.options[this.selectedIndex].value;">'."\n";
126
+ for($i = 1; $i <= $max_page; $i++) {
127
+ $page_num = $i;
128
+ if($page_num == 1) {
129
+ $page_num = 0;
130
+ }
131
+ if($i == $paged) {
132
+ $current_page_text = str_replace("%PAGE_NUMBER%", $i, $pagenavi_options['current_text']);
133
+ echo '<option value="'.get_pagenum_link($page_num).'" selected="selected" class="current">'.$current_page_text."</option>\n";
134
+ } else {
135
+ $page_text = str_replace("%PAGE_NUMBER%", $i, $pagenavi_options['page_text']);
136
+ echo '<option value="'.get_pagenum_link($page_num).'">'.$page_text."</option>\n";
137
+ }
138
+ }
139
+ echo "</select>\n";
140
+ echo "</form>\n";
141
+ break;
142
+ }
143
+ echo '</div>'."\n";
144
+ }
145
+ }
146
+ }
147
+
148
+
149
+ ### Function: Page Navigation: Drop Down Menu (Deprecated)
150
+ function wp_pagenavi_dropdown() {
151
+ wp_pagenavi();
152
+ }
153
+
154
+
155
+ ### Function: Page Navigation Options
156
+ add_action('activate_pagenavi/pagenavi.php', 'pagenavi_init');
157
+ function pagenavi_init() {
158
+ // Delete Options First
159
+ delete_option('pagenavi_options');
160
+ // Add Options
161
+ $pagenavi_options = array();
162
+ $pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','wp-pagenavi');
163
+ $pagenavi_options['current_text'] = '%PAGE_NUMBER%';
164
+ $pagenavi_options['page_text'] = '%PAGE_NUMBER%';
165
+ $pagenavi_options['first_text'] = __('&laquo; First','wp-pagenavi');
166
+ $pagenavi_options['last_text'] = __('Last &raquo;','wp-pagenavi');
167
+ $pagenavi_options['next_text'] = __('&raquo;','wp-pagenavi');
168
+ $pagenavi_options['prev_text'] = __('&laquo;','wp-pagenavi');
169
+ $pagenavi_options['dotright_text'] = __('...','wp-pagenavi');
170
+ $pagenavi_options['dotleft_text'] = __('...','wp-pagenavi');
171
+ $pagenavi_options['style'] = 1;
172
+ $pagenavi_options['num_pages'] = 5;
173
+ $pagenavi_options['always_show'] = 0;
174
+ add_option('pagenavi_options', $pagenavi_options, 'PageNavi Options');
175
+ }
176
+ ?>
pagenavi/wp-pagenavi.mo ADDED
Binary file
pagenavi/wp-pagenavi.pot ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP-PageNavi 2.11\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-06-02 18:54+0800\n"
6
+ "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n"
7
+ "Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Poedit-Language: English\n"
12
+ "X-Poedit-Country: SINGAPORE\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SearchPath-0: .\n"
16
+
17
+ #: pagenavi-options.php:42
18
+ #: pagenavi-options.php:61
19
+ #: pagenavi-options.php:127
20
+ msgid "Page Navigation Options"
21
+ msgstr ""
22
+
23
+ #: pagenavi-options.php:47
24
+ msgid "Updated"
25
+ msgstr ""
26
+
27
+ #: pagenavi-options.php:52
28
+ msgid "No Page Navigation Option Updated"
29
+ msgstr ""
30
+
31
+ #: pagenavi-options.php:64
32
+ msgid "Page Navigation Text"
33
+ msgstr ""
34
+
35
+ #: pagenavi-options.php:67
36
+ msgid "Text For Number Of Pages"
37
+ msgstr ""
38
+
39
+ #: pagenavi-options.php:70
40
+ msgid "The current page number."
41
+ msgstr ""
42
+
43
+ #: pagenavi-options.php:71
44
+ msgid "The total number of pages."
45
+ msgstr ""
46
+
47
+ #: pagenavi-options.php:75
48
+ msgid "Text For Current Page"
49
+ msgstr ""
50
+
51
+ #: pagenavi-options.php:78
52
+ #: pagenavi-options.php:85
53
+ msgid "The page number."
54
+ msgstr ""
55
+
56
+ #: pagenavi-options.php:82
57
+ msgid "Text For Page"
58
+ msgstr ""
59
+
60
+ #: pagenavi-options.php:89
61
+ msgid "Text For First Post"
62
+ msgstr ""
63
+
64
+ #: pagenavi-options.php:95
65
+ msgid "Text For Last Post"
66
+ msgstr ""
67
+
68
+ #: pagenavi-options.php:101
69
+ msgid "Text For Next Post"
70
+ msgstr ""
71
+
72
+ #: pagenavi-options.php:107
73
+ msgid "Text For Previous Post"
74
+ msgstr ""
75
+
76
+ #: pagenavi-options.php:113
77
+ msgid "Text For Next ..."
78
+ msgstr ""
79
+
80
+ #: pagenavi-options.php:119
81
+ msgid "Text For Previous ..."
82
+ msgstr ""
83
+
84
+ #: pagenavi-options.php:130
85
+ msgid "Page Navigation Style"
86
+ msgstr ""
87
+
88
+ #: pagenavi-options.php:133
89
+ msgid "Normal"
90
+ msgstr ""
91
+
92
+ #: pagenavi-options.php:134
93
+ msgid "Drop Down List"
94
+ msgstr ""
95
+
96
+ #: pagenavi-options.php:139
97
+ msgid "Number Of Many Pages To Show?"
98
+ msgstr ""
99
+
100
+ #: pagenavi-options.php:145
101
+ msgid "Always Show Page Navigation?"
102
+ msgstr ""
103
+
104
+ #: pagenavi-options.php:148
105
+ msgid "Yes"
106
+ msgstr ""
107
+
108
+ #: pagenavi-options.php:149
109
+ msgid "No"
110
+ msgstr ""
111
+
112
+ #: pagenavi-options.php:156
113
+ msgid "Update Options"
114
+ msgstr ""
115
+
116
+ #: pagenavi-options.php:156
117
+ msgid "Cancel"
118
+ msgstr ""
119
+
120
+ #: pagenavi.php:39
121
+ msgid "PageNavi"
122
+ msgstr ""
123
+
124
+ #: pagenavi.php:162
125
+ msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
126
+ msgstr ""
127
+
128
+ #: pagenavi.php:165
129
+ msgid "&laquo; First"
130
+ msgstr ""
131
+
132
+ #: pagenavi.php:166
133
+ msgid "Last &raquo;"
134
+ msgstr ""
135
+
136
+ #: pagenavi.php:167
137
+ msgid "&raquo;"
138
+ msgstr ""
139
+
140
+ #: pagenavi.php:168
141
+ msgid "&laquo;"
142
+ msgstr ""
143
+
144
+ #: pagenavi.php:169
145
+ #: pagenavi.php:170
146
+ msgid "..."
147
+ msgstr ""
148
+
readme-install.txt DELETED
@@ -1,19 +0,0 @@
1
- -> Installation Instructions
2
- --------------------------------------------------
3
- // Open wp-content/plugins folder
4
-
5
- Put:
6
- ------------------------------------------------------------------
7
- pagenavi.php
8
- ------------------------------------------------------------------
9
-
10
-
11
- // Activate the pagenavi plugin
12
-
13
-
14
- // Open wp-content/themes/<YOUR THEME NAME>/footer.php
15
-
16
- Add:
17
- ------------------------------------------------------------------
18
- <?php wp_pagenavi(); ?>
19
- ------------------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.html ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <title>WP-PageNavi 2.11 Readme</title>
6
+ <style type="text/css" media="screen">
7
+ /* Default Style */
8
+ BODY {
9
+ font-family: Verdana, Arial;
10
+ font-size: 12px;
11
+ color: #000000;
12
+ background: #FFFFFF;
13
+ }
14
+ P {
15
+ padding-left: 10px;
16
+ }
17
+ BLOCKQUOTE {
18
+ margin: 10px 20px 0px 20px;
19
+ padding: 10px;
20
+ border: 1px solid #8d8d8d;
21
+ background-color: #f5f5f5;
22
+ }
23
+ LI {
24
+ margin-top: 20px;
25
+ }
26
+ UL LI UL LI {
27
+ margin-top: 10px;
28
+ }
29
+ A, A:active, A:link, A:visited {
30
+ color: #2d3a4c;
31
+ text-decoration: none;
32
+ }
33
+ A:hover {
34
+ color: #5577a5;
35
+ text-decoration: underline;
36
+ }
37
+ /* Place Holder Style */
38
+ #Container {
39
+ width: 780px;
40
+ margin-left: auto;
41
+ margin-right: auto;
42
+ }
43
+ #Content {
44
+ background-color: #fafafa;
45
+ border: 1px solid #a2b6cb;
46
+ padding: 10px;
47
+ margin-top: -13px;
48
+ }
49
+ /* Title Style */
50
+ #Title {
51
+ font-family: Verdana, Arial;
52
+ font-size: 22px;
53
+ font-weight: bold;
54
+ color: #389aff;
55
+ border-bottom: 1px solid #389aff;
56
+ margin-bottom: 10px;
57
+ }
58
+ .SubTitle {
59
+ font-family: Verdana, Arial;
60
+ font-size: 18px;
61
+ font-weight: bold;
62
+ color: #5b87b4;
63
+ }
64
+ .SubSubTitle {
65
+ font-family: Verdana, Arial;
66
+ font-size: 14px;
67
+ font-weight: bold;
68
+ color: #73a4d6;
69
+ }
70
+ /* Tabs */
71
+ UL#Tabs {
72
+ font-family: Verdana, Arial;
73
+ font-size: 12px;
74
+ font-weight: bold;
75
+ list-style-type: none;
76
+ padding-bottom: 28px;
77
+ border-bottom: 1px solid #a2b6cb;
78
+ margin-bottom: 12px;
79
+ z-index: 1;
80
+ }
81
+ #Tabs LI.Tab {
82
+ float: right;
83
+ height: 25px;
84
+ background-color: #deedfb;
85
+ margin: 2px 0px 0px 5px;
86
+ border: 1px solid #a2b6cb;
87
+ }
88
+ #Tabs LI.Tab A {
89
+ float: left;
90
+ display: block;
91
+ color: #666666;
92
+ text-decoration: none;
93
+ padding: 5px;
94
+ }
95
+ #Tabs LI.Tab A:hover {
96
+ background-color: #bfe0fe;
97
+ border-bottom: 1px solid #bfe0fe;
98
+ }
99
+ /* Selected Tab */
100
+ #Tabs LI.SelectedTab {
101
+ float: right;
102
+ height: 25px;
103
+ background-color: #fafafa;
104
+ margin: 2px 0px 0px 5px;
105
+ border-top: 1px solid #a2b6cb;
106
+ border-right: 1px solid #a2b6cb;
107
+ border-bottom: 1px solid #fafafa;
108
+ border-left: 1px solid #a2b6cb;
109
+ }
110
+ #Tabs LI.SelectedTab A {
111
+ float: left;
112
+ display: block;
113
+ color: #666666;
114
+ text-decoration: none;
115
+ padding: 5px;
116
+ cursor: default;
117
+ }
118
+ /* Copyright */
119
+ #Copyright {
120
+ text-align: center;
121
+ }
122
+ </style>
123
+ <script type="text/javascript">
124
+ /* <![CDATA[*/
125
+ // Index Page
126
+ function index() {
127
+ // Tab
128
+ document.getElementById('IndexTab').className = 'SelectedTab';
129
+ document.getElementById('ChangelogTab').className = 'Tab';
130
+ document.getElementById('InstallTab').className = 'Tab';
131
+ document.getElementById('UpgradeTab').className = 'Tab';
132
+ document.getElementById('UsageTab').className = 'Tab';
133
+ // Page
134
+ document.getElementById('Index').style.display= 'block';
135
+ document.getElementById('Changelog').style.display = 'none';
136
+ document.getElementById('Install').style.display = 'none';
137
+ document.getElementById('Upgrade').style.display = 'none';
138
+ document.getElementById('Usage').style.display = 'none';
139
+ }
140
+ // Changelog Page
141
+ function changelog() {
142
+ // Tab
143
+ document.getElementById('IndexTab').className = 'Tab';
144
+ document.getElementById('ChangelogTab').className = 'SelectedTab';
145
+ document.getElementById('InstallTab').className = 'Tab';
146
+ document.getElementById('UpgradeTab').className = 'Tab';
147
+ document.getElementById('UsageTab').className = 'Tab';
148
+ // Page
149
+ document.getElementById('Index').style.display = 'none';
150
+ document.getElementById('Changelog').style.display = 'block';
151
+ document.getElementById('Install').style.display = 'none';
152
+ document.getElementById('Upgrade').style.display = 'none';
153
+ document.getElementById('Usage').style.display = 'none';
154
+ }
155
+ // Installation Page
156
+ function install() {
157
+ // Tab
158
+ document.getElementById('IndexTab').className = 'Tab';
159
+ document.getElementById('ChangelogTab').className = 'Tab';
160
+ document.getElementById('InstallTab').className = 'SelectedTab';
161
+ document.getElementById('UpgradeTab').className = 'Tab';
162
+ document.getElementById('UsageTab').className = 'Tab';
163
+ // Page
164
+ document.getElementById('Index').style.display= 'none';
165
+ document.getElementById('Changelog').style.display = 'none';
166
+ document.getElementById('Install').style.display = 'block';
167
+ document.getElementById('Upgrade').style.display = 'none';
168
+ document.getElementById('Usage').style.display = 'none';
169
+ }
170
+ // Upgrade Page
171
+ function upgrade() {
172
+ // Tab
173
+ document.getElementById('IndexTab').className = 'Tab';
174
+ document.getElementById('ChangelogTab').className = 'Tab';
175
+ document.getElementById('InstallTab').className = 'Tab';
176
+ document.getElementById('UpgradeTab').className = 'SelectedTab';
177
+ document.getElementById('UsageTab').className = 'Tab';
178
+ // Page
179
+ document.getElementById('Index').style.display= 'none';
180
+ document.getElementById('Changelog').style.display = 'none';
181
+ document.getElementById('Install').style.display = 'none';
182
+ document.getElementById('Upgrade').style.display = 'block';
183
+ document.getElementById('Usage').style.display = 'none';
184
+ }
185
+ // Usage Page
186
+ function usage() {
187
+ // Tab
188
+ document.getElementById('IndexTab').className = 'Tab';
189
+ document.getElementById('ChangelogTab').className = 'Tab';
190
+ document.getElementById('InstallTab').className = 'Tab';
191
+ document.getElementById('UpgradeTab').className = 'Tab';
192
+ document.getElementById('UsageTab').className = 'SelectedTab';
193
+ // Page
194
+ document.getElementById('Index').style.display= 'none';
195
+ document.getElementById('Changelog').style.display = 'none';
196
+ document.getElementById('Install').style.display = 'none';
197
+ document.getElementById('Upgrade').style.display = 'none';
198
+ document.getElementById('Usage').style.display = 'block';
199
+ }
200
+ /* ]]> */
201
+ </script>
202
+ </head>
203
+ <body>
204
+ <div id="Container">
205
+ <!-- Title -->
206
+ <div id="Title">WP-PageNavi 2.11&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
+
208
+ <!-- Tabs -->
209
+ <ul id="Tabs">
210
+ <li id="UsageTab" class="Tab"><a href="#Usage" onclick="usage(); return false;" title="Usage Instructions">Usage</a></li>
211
+ <li id="UpgradeTab" class="Tab"><a href="#Upgrade" onclick="upgrade(); return false;" title="Upgrade Instructions">Upgrade</a></li>
212
+ <li id="InstallTab" class="Tab"><a href="#Installation" onclick="install(); return false;" title="Installation Instructions">Installation</a></li>
213
+ <li id="ChangelogTab" class="Tab"><a href="#Changelog" onclick="changelog(); return false;" title="Changelog">Changelog</a></li>
214
+ <li id="IndexTab" class="SelectedTab"><a href="#Index" onclick="index(); return false;" title="Index Instructions">Index</a></li>
215
+ </ul>
216
+
217
+ <!-- Content -->
218
+ <div id="Content">
219
+ <!-- Index -->
220
+ <div id="Index">
221
+ <div class="SubTitle">&raquo; Index</div>
222
+ <div class="SubSubTitle">Plugin Information</div>
223
+ <p>
224
+ <strong>Author:</strong><br />
225
+ <strong>&raquo;</strong> Lester 'GaMerZ' Chan
226
+ </p>
227
+ <p>
228
+ <strong>EMail:</strong><br />
229
+ <strong>&raquo;</strong>
230
+ <script type="text/javascript">
231
+ /* <![CDATA[*/
232
+ document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-PageNavi%202.11%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');
233
+ /* ]]> */
234
+ </script>
235
+ </p>
236
+ <p>
237
+ <strong>Website:</strong><br />
238
+ <strong>&raquo;</strong> <a href="http://www.lesterchan.net/" title="http://www.lesterchan.net/">http://www.lesterchan.net/</a>
239
+ </p>
240
+ <p>
241
+ <strong>Features:</strong><br />
242
+ <strong>&raquo;</strong> Adds a more advanced paging navigation your WordPress blog.<br /><strong>&raquo;</strong> Example: <strong>Pages (17): [1] 2 3 4 &raquo; ... Last &raquo;</strong>
243
+ </p>
244
+ <p>
245
+ <strong>Download:</strong><br />
246
+ <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=11" title="http://www.lesterchan.net/others/downloads.php?id=11">WP-PageNavi 2.11 For WordPress 2.1.x And Above</a><br />
247
+ <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads/wp-pagenavi203.zip" title="http://www.lesterchan.net/others/downloads/wp-pagenavi203.zip">WP-PageNavi 2.03 For WordPress 2.0.x</a><br />
248
+ <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads/wp-pagenavi.zip" title="http://www.lesterchan.net/others/downloads/wp-pagenavi.zip">WP-PageNavi 1.00 For WordPress 1.5.2</a>
249
+ </p>
250
+ <p>
251
+ <strong>Demo:</strong><br />
252
+ <strong>&raquo;</strong> <a href="http://www.lesterchan.net/wordpress/" title="http://www.lesterchan.net/wordpress/">http://www.lesterchan.net/wordpress/</a>
253
+ </p>
254
+ <p>
255
+ <strong>Development:</strong><br />
256
+ <strong>&raquo;</strong> <a href="http://dev.wp-plugins.org/browser/wp-pagenavi/" title="http://dev.wp-plugins.org/browser/wp-pagenavi/">http://dev.wp-plugins.org/browser/wp-pagenavi/</a>
257
+ </p>
258
+ <p>
259
+ <strong>Translations:</strong><br />
260
+ <strong>&raquo;</strong> <a href="http://dev.wp-plugins.org/browser/wp-pagenavi/i18n/" title="http://dev.wp-plugins.org/browser/wp-pagenavi/i18n/">http://dev.wp-plugins.org/browser/wp-pagenavi/i18n/</a>
261
+ </p>
262
+ <p><strong>Support Forums:</strong><br />
263
+ <strong>&raquo;</strong> <a href="http://forums.lesterchan.net/index.php?board=14.0" title="http://forums.lesterchan.net/index.php?board=14.0">http://forums.lesterchan.net/index.php?board=14.0</a>
264
+ </p>
265
+ <p>
266
+ <strong>Updated:</strong><br />
267
+ <strong>&raquo;</strong> 1st June 2007
268
+ </p>
269
+ <p>
270
+ <strong>Note:</strong><br />
271
+ <strong>&raquo;</strong> The <strong>Changelog</strong>, <strong>Installation</strong>, <strong>Upgrade</strong>, <strong>Usage</strong> Tab at the top of the page.
272
+ </p>
273
+ <p>
274
+ <strong>Donations:</strong><br />
275
+ <strong>&raquo;</strong> I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks as my school allowance, I will really appericiate it. If not feel free to use it without any obligations. Thank You. My Paypal account is
276
+ <script type="text/javascript">
277
+ /* <![CDATA[*/
278
+ document.write(' <strong>gamerz84@hotmail.com</strong>.');
279
+ /* ]]> */
280
+ </script>
281
+ </p>
282
+ </div>
283
+
284
+ <!-- Changelog -->
285
+ <div id="Changelog" style="display: none;">
286
+ <div class="SubTitle">&raquo; Changelog</div>
287
+ <ul>
288
+ <li>
289
+ <strong>Version 2.11 (01-06-2007)</strong>
290
+ <ul>
291
+ <li>NEW: Page Navigation Now Is Customizable Via <strong>'WP-Admin -> Options -> PageNavi'</strong> And pagenavi-css.css</li>
292
+ <li>NEW: Default Style Navigation Is Now Boxed Navigation (Similar To <a href="http://www.digg.com/">Digg.com</a>)</li>
293
+ <li>FIXED: Fix For Ultimate Tag Warrior By Oliver Kastler & Stephan (<a href="http://www.netconcepts.com">Netconcepts</a>)</li>
294
+ </ul>
295
+ </li>
296
+ <li>
297
+ <strong>Version 2.10 (01-02-2007)</strong>
298
+ <ul>
299
+ <li>NEW: Works For WordPress 2.1 Only</li>
300
+ <li>NEW: Move pagenavi.php To pagenavi Folder</li>
301
+ </ul>
302
+ </li>
303
+ <li>
304
+ <strong>Version 2.03 (01-10-2006)</strong>
305
+ <ul>
306
+ <li>FIXED: Now Compatible With WordPress 2.1</li>
307
+ </ul>
308
+ </li>
309
+ <li>
310
+ <strong>Version 2.02 (01-06-2006)</strong>
311
+ <ul>
312
+ <li>NEW: Added Drop Down Menu Style Of Page Navigation</li>
313
+ </ul>
314
+ </li>
315
+ <li>
316
+ <strong>Version 2.01 (01-03-2006)</strong>
317
+ <ul>
318
+ <li>FIXED: Paging Show If There Is Only 1 Page</li>
319
+ </ul>
320
+ </li>
321
+ <li>
322
+ <strong>Version 2.00 (01-01-2006)</strong>
323
+ <ul>
324
+ <li>NEW: Compatible With WordPress 2.0</li>
325
+ <li>FIXED: Space Issues</li>
326
+ </ul>
327
+ </li>
328
+ </ul>
329
+ </div>
330
+
331
+ <!-- Installation Instructions -->
332
+ <div id="Install" style="display: none;">
333
+ <div class="SubTitle">&raquo; Installation Instructions</div>
334
+ <ol>
335
+ <li>
336
+ Open <strong>wp-content/plugins</strong> Folder
337
+ </li>
338
+ <li>
339
+ Put:
340
+ <blockquote>Folder: pagenavi</blockquote>
341
+ </li>
342
+ <li>
343
+ <strong>Activate</strong> WP-PageNavi Plugin
344
+ </li>
345
+ <li>
346
+ Refer To <strong>Usage</strong> For Further Instructions
347
+ </li>
348
+ </ol>
349
+ </div>
350
+
351
+ <!-- Upgrade Instructions -->
352
+ <div id="Upgrade" style="display: none;">
353
+ <div class="SubTitle">&raquo; Upgrade Instructions</div>
354
+ <div class="SubSubTitle">From v1.0x To v2.11</div>
355
+ <ol>
356
+ <li>
357
+ <strong>Deactivate</strong> WP-PageNavi Plugin
358
+ </li>
359
+ <li>
360
+ Open <strong>wp-content/plugins</strong> Folder
361
+ </li>
362
+ <li>
363
+ Put/Overwrite:
364
+ <blockquote>Folder: pagenavi</blockquote>
365
+ </li>
366
+ <li>
367
+ Delete:
368
+ <blockquote>File: pagenavi.php</blockquote>
369
+ </li>
370
+ <li>
371
+ <strong>Activate</strong> WP-PageNavi Plugin
372
+ </li>
373
+ <li>
374
+ Refer To <strong>Usage</strong> For Further Instructions
375
+ </li>
376
+ </ol>
377
+ </div>
378
+
379
+ <!-- Usage Instructions -->
380
+ <div id="Usage" style="display: none;">
381
+ <div class="SubTitle">&raquo; Usage Instructions</div>
382
+ <div class="SubSubTitle">General Usage</div>
383
+ <ol>
384
+ <li>
385
+ Open <strong>wp-content/themes/&lt;YOUR THEME NAME&gt;/footer.php</strong>
386
+ </li>
387
+ <li>
388
+ Add Anywhere:
389
+ <blockquote>
390
+ &lt;?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?&gt;
391
+ </blockquote>
392
+ </li>
393
+ <li>
394
+ Go to <strong>'WP-Admin -> Options -> PageNavi'</strong> to configure WP-PageNavi.
395
+ </li>
396
+ <li>
397
+ If you need to configure the CSS style of WP-PageNavi, open and edit:
398
+ <blockquote>
399
+ /wp-content/plugins/pagenavi/pagenavi-css.css
400
+ </blockquote>
401
+ </li>
402
+ </ol>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ <p id="Copyright">WP-PageNavi 2.11<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
407
+ </body>
408
+ </html>
readme.txt CHANGED
@@ -1,14 +1,29 @@
1
- -> Page Navigation Plugin For WordPress 2.0
2
- --------------------------------------------------
3
- Author -> Lester 'GaMerZ' Chan
4
- Email -> gamerz84@hotmail.com
5
- Website -> http://www.lesterchan.net/
6
- Demo -> http://www.lesterchan.net/blogs
7
- Documentation -> http://dev.wp-plugins.org/wiki/wp-pagenavi
8
- Development -> http://dev.wp-plugins.org/browser/wp-pagenavi/
9
- Updated -> 1st January 2006
10
- --------------------------------------------------
11
-
12
- // Version 2.00 (01-01-2006)
13
- - NEW: Compatible With WordPress 2.0
14
- - FIXED: Space Issues
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === WP-PageNavi ===
2
+ Contributors: GamerZ
3
+ Donate link: http://www.lesterchan.net/wordpress
4
+ Tags: pagenavi, navi, navigation, wp-pagenavi, page
5
+ Requires at least: 2.1.0
6
+ Stable tag: 2.11
7
+
8
+ Adds a more advanced paging navigation your WordPress blog.
9
+
10
+ == Description ==
11
+
12
+ All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: [WP-PageNavi Readme](http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme").
13
+ It is the exact same readme.html is included in the zip package.
14
+
15
+ == Development Blog ==
16
+
17
+ [GaMerZ WordPress Plugins Development Blog](http://www.lesterchan.net/wordpress/ "GaMerZ WordPress Plugins Development Blog")
18
+
19
+ == Installation ==
20
+
21
+ [WP-PageNavi Readme](http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme") (Installation Tab)
22
+
23
+ == Screenshots ==
24
+
25
+ [GaMerZ WordPress Plugins Screenshots](http://www.lesterchan.net/wordpress/screenshots/ "GaMerZ WordPress Plugins Screenshots")
26
+
27
+ == Frequently Asked Questions ==
28
+
29
+ You will need [GaMerZ WordPress Plugins Support Forums](http://forums.lesterchan.net/ "GaMerZ WordPress Plugins Support Forums")