Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-PageNavi |
Version | 2.10 |
Comparing to | |
See all releases |
Version 2.10
- pagenavi/pagenavi.php +111 -0
- readme.html +401 -0
- readme.txt +29 -0
pagenavi/pagenavi.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 your WordPress blog.
|
6 |
+
Version: 2.10
|
7 |
+
Author: GaMerZ
|
8 |
+
Author URI: http://www.lesterchan.net
|
9 |
+
*/
|
10 |
+
|
11 |
+
|
12 |
+
/* Copyright 2006 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: Normal Paging
|
31 |
+
function wp_pagenavi($before = '', $after = '', $prelabel = '', $nxtlabel = '', $pages_to_show = 5, $always_show = false) {
|
32 |
+
global $request, $posts_per_page, $wpdb, $paged;
|
33 |
+
if(empty($prelabel)) {
|
34 |
+
$prelabel = '«';
|
35 |
+
}
|
36 |
+
if(empty($nxtlabel)) {
|
37 |
+
$nxtlabel = '»';
|
38 |
+
}
|
39 |
+
$half_pages_to_show = round($pages_to_show/2);
|
40 |
+
if (!is_single()) {
|
41 |
+
if(!is_category()) {
|
42 |
+
preg_match('#FROM\s(.*)\sORDER BY#siU', $request, $matches);
|
43 |
+
} else {
|
44 |
+
preg_match('#FROM\s(.*)\sGROUP BY#siU', $request, $matches);
|
45 |
+
}
|
46 |
+
$fromwhere = $matches[1];
|
47 |
+
$numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
|
48 |
+
$max_page = ceil($numposts /$posts_per_page);
|
49 |
+
if(empty($paged)) {
|
50 |
+
$paged = 1;
|
51 |
+
}
|
52 |
+
if($max_page > 1 || $always_show) {
|
53 |
+
echo "$before Pages ($max_page): <b>";
|
54 |
+
if ($paged >= ($pages_to_show-1)) {
|
55 |
+
echo '<a href="'.get_pagenum_link().'">« First</a> ... ';
|
56 |
+
}
|
57 |
+
previous_posts_link($prelabel);
|
58 |
+
for($i = $paged - $half_pages_to_show; $i <= $paged + $half_pages_to_show; $i++) {
|
59 |
+
if ($i >= 1 && $i <= $max_page) {
|
60 |
+
if($i == $paged) {
|
61 |
+
echo "[$i]";
|
62 |
+
} else {
|
63 |
+
echo ' <a href="'.get_pagenum_link($i).'">'.$i.'</a> ';
|
64 |
+
}
|
65 |
+
}
|
66 |
+
}
|
67 |
+
next_posts_link($nxtlabel, $max_page);
|
68 |
+
if (($paged+$half_pages_to_show) < ($max_page)) {
|
69 |
+
echo ' ... <a href="'.get_pagenum_link($max_page).'">Last »</a>';
|
70 |
+
}
|
71 |
+
echo "</b>$after";
|
72 |
+
}
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
|
77 |
+
### Function: Page Navigation: Drop Down Menu
|
78 |
+
function wp_pagenavi_dropdown() {
|
79 |
+
global $request, $posts_per_page, $wpdb, $paged;
|
80 |
+
if (!is_single()) {
|
81 |
+
if(!is_category()) {
|
82 |
+
preg_match('#FROM\s(.*)\sORDER BY#siU', $request, $matches);
|
83 |
+
} else {
|
84 |
+
preg_match('#FROM\s(.*)\sGROUP BY#siU', $request, $matches);
|
85 |
+
}
|
86 |
+
$fromwhere = $matches[1];
|
87 |
+
$numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
|
88 |
+
$max_page = ceil($numposts /$posts_per_page);
|
89 |
+
if(empty($paged)) {
|
90 |
+
$paged = 1;
|
91 |
+
}
|
92 |
+
if($max_page > 1) {
|
93 |
+
echo '<form action="'.htmlspecialchars($_SERVER['PHP_SELF']).'" method="get">'."\n";
|
94 |
+
echo '<select size="1" onchange="document.location.href = this.options[this.selectedIndex].value;">'."\n";
|
95 |
+
for($i = 1; $i <= $max_page; $i++) {
|
96 |
+
$page_num = $i;
|
97 |
+
if($page_num == 1) {
|
98 |
+
$page_num = 0;
|
99 |
+
}
|
100 |
+
if($i == $paged) {
|
101 |
+
echo "<option value=\"".get_pagenum_link($page_num)."\" selected=\"selected\">Page: $i</option>\n";
|
102 |
+
} else {
|
103 |
+
echo "<option value=\"".get_pagenum_link($page_num)."\">Page: $i</option>\n";
|
104 |
+
}
|
105 |
+
}
|
106 |
+
echo "</select>\n";
|
107 |
+
echo "</form>\n";
|
108 |
+
}
|
109 |
+
}
|
110 |
+
}
|
111 |
+
?>
|
readme.html
ADDED
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.10 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.10 <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">» Index</div>
|
222 |
+
<div class="SubSubTitle">Plugin Information</div>
|
223 |
+
<p>
|
224 |
+
<b>Author:</b><br />
|
225 |
+
<b>»</b> Lester 'GaMerZ' Chan
|
226 |
+
</p>
|
227 |
+
<p>
|
228 |
+
<b>EMail:</b><br />
|
229 |
+
<b>»</b>
|
230 |
+
<script type="text/javascript">
|
231 |
+
/* <![CDATA[*/
|
232 |
+
document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-PageNavi%202.10%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');
|
233 |
+
/* ]]> */
|
234 |
+
</script>
|
235 |
+
</p>
|
236 |
+
<p>
|
237 |
+
<b>Website:</b><br />
|
238 |
+
<b>»</b> <a href="http://www.lesterchan.net/" title="http://www.lesterchan.net/">http://www.lesterchan.net/</a>
|
239 |
+
</p>
|
240 |
+
<p>
|
241 |
+
<b>Features:</b><br />
|
242 |
+
<b>»</b> Adds a more advanced paging navigation your WordPress blog.<br /><b>»</b> Example: <b>Pages (17): [1] 2 3 4 » ... Last »</b>
|
243 |
+
</p>
|
244 |
+
<p>
|
245 |
+
<b>Download:</b><br />
|
246 |
+
<b>»</b> <a href="http://www.lesterchan.net/others/downloads.php?id=11" title="http://www.lesterchan.net/others/downloads.php?id=11">WP-PageNavi 2.10 For WordPress 2.1.x</a><br />
|
247 |
+
<b>»</b> <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 |
+
<b>»</b> <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 |
+
<b>Demo:</b><br />
|
252 |
+
<b>»</b> <a href="http://www.lesterchan.net/wordpress/" title="http://www.lesterchan.net/wordpress/">http://www.lesterchan.net/wordpress/</a>
|
253 |
+
</p>
|
254 |
+
<p>
|
255 |
+
<b>Development:</b><br />
|
256 |
+
<b>»</b> <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 |
+
<b>Translations:</b><br />
|
260 |
+
<b>»</b> <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><b>Support Forums:</b><br />
|
263 |
+
<b>»</b> <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 |
+
<b>Updated:</b><br />
|
267 |
+
<b>»</b> 1st February 2007
|
268 |
+
</p>
|
269 |
+
<p>
|
270 |
+
<b>Note:</b><br />
|
271 |
+
<b>»</b> The <b>Changelog</b>, <b>Installation</b>, <b>Upgrade</b>, <b>Usage</b> Tab at the top of the page.
|
272 |
+
</p>
|
273 |
+
<p>
|
274 |
+
<b>Donations:</b><br />
|
275 |
+
<b>»</b> 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(' <b>gamerz84@hotmail.com</b>.');
|
279 |
+
/* ]]> */
|
280 |
+
</script>
|
281 |
+
</p>
|
282 |
+
</div>
|
283 |
+
|
284 |
+
<!-- Changelog -->
|
285 |
+
<div id="Changelog" style="display: none;">
|
286 |
+
<div class="SubTitle">» Changelog</div>
|
287 |
+
<ul>
|
288 |
+
<li>
|
289 |
+
<b>Version 2.10 (01-02-2007)</b>
|
290 |
+
<ul>
|
291 |
+
<li>NEW: Works For WordPress 2.1 Only</li>
|
292 |
+
<li>NEW: Move pagenavi.php To pagenavi Folder</li>
|
293 |
+
</ul>
|
294 |
+
</li>
|
295 |
+
<li>
|
296 |
+
<b>Version 2.03 (01-10-2006)</b>
|
297 |
+
<ul>
|
298 |
+
<li>FIXED: Now Compatible With WordPress 2.1</li>
|
299 |
+
</ul>
|
300 |
+
</li>
|
301 |
+
<li>
|
302 |
+
<b>Version 2.02 (01-06-2006)</b>
|
303 |
+
<ul>
|
304 |
+
<li>NEW: Added Drop Down Menu Style Of Page Navigation</li>
|
305 |
+
</ul>
|
306 |
+
</li>
|
307 |
+
<li>
|
308 |
+
<b>Version 2.01 (01-03-2006)</b>
|
309 |
+
<ul>
|
310 |
+
<li>FIXED: Paging Show If There Is Only 1 Page</li>
|
311 |
+
</ul>
|
312 |
+
</li>
|
313 |
+
<li>
|
314 |
+
<b>Version 2.00 (01-01-2006)</b>
|
315 |
+
<ul>
|
316 |
+
<li>NEW: Compatible With WordPress 2.0</li>
|
317 |
+
<li>FIXED: Space Issues</li>
|
318 |
+
</ul>
|
319 |
+
</li>
|
320 |
+
</ul>
|
321 |
+
</div>
|
322 |
+
|
323 |
+
<!-- Installation Instructions -->
|
324 |
+
<div id="Install" style="display: none;">
|
325 |
+
<div class="SubTitle">» Installation Instructions</div>
|
326 |
+
<ol>
|
327 |
+
<li>
|
328 |
+
Open <b>wp-content/plugins</b> Folder
|
329 |
+
</li>
|
330 |
+
<li>
|
331 |
+
Put:
|
332 |
+
<blockquote>Folder: pagenavi</blockquote>
|
333 |
+
</li>
|
334 |
+
<li>
|
335 |
+
<b>Activate</b> WP-PageNavi Plugin
|
336 |
+
</li>
|
337 |
+
<li>
|
338 |
+
Refer To <b>Usage</b> For Further Instructions
|
339 |
+
</li>
|
340 |
+
</ol>
|
341 |
+
</div>
|
342 |
+
|
343 |
+
<!-- Upgrade Instructions -->
|
344 |
+
<div id="Upgrade" style="display: none;">
|
345 |
+
<div class="SubTitle">» Upgrade Instructions</div>
|
346 |
+
<div class="SubSubTitle">From v1.0x To v2.10</div>
|
347 |
+
<ol>
|
348 |
+
<li>
|
349 |
+
<b>Deactivate</b> WP-PageNavi Plugin
|
350 |
+
</li>
|
351 |
+
<li>
|
352 |
+
Open <b>wp-content/plugins</b> Folder
|
353 |
+
</li>
|
354 |
+
<li>
|
355 |
+
Put/Overwrite:
|
356 |
+
<blockquote>Folder: pagenavi</blockquote>
|
357 |
+
</li>
|
358 |
+
<li>
|
359 |
+
Delete:
|
360 |
+
<blockquote>File: pagenavi.php</blockquote>
|
361 |
+
</li>
|
362 |
+
<li>
|
363 |
+
<b>Activate</b> WP-PageNavi Plugin
|
364 |
+
</li>
|
365 |
+
<li>
|
366 |
+
Refer To <b>Usage</b> For Further Instructions
|
367 |
+
</li>
|
368 |
+
</ol>
|
369 |
+
</div>
|
370 |
+
|
371 |
+
<!-- Usage Instructions -->
|
372 |
+
<div id="Usage" style="display: none;">
|
373 |
+
<div class="SubTitle">» Usage Instructions</div>
|
374 |
+
<div class="SubSubTitle">General Usage</div>
|
375 |
+
<ol>
|
376 |
+
<li>
|
377 |
+
Open <b>wp-content/themes/<YOUR THEME NAME>/footer.php</b>
|
378 |
+
</li>
|
379 |
+
<li>
|
380 |
+
Add Anywhere:
|
381 |
+
<blockquote>
|
382 |
+
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
|
383 |
+
</blockquote>
|
384 |
+
<p>Default: wp_pagenavi('', '', '', '', 5, false);</p>
|
385 |
+
<p>
|
386 |
+
The first value: The text to appear before the navigation<br />
|
387 |
+
The second value: The text to appear after the navigation.<br />
|
388 |
+
The third value: The label for previous page.<br />
|
389 |
+
The fourth value: The label for next page.<br />
|
390 |
+
The fiveth value: Is the number of page numbers to be shown.<br />
|
391 |
+
The sixth value: Always show the navigation bar even it contains 1 and only 1 page.<br />
|
392 |
+
</p>
|
393 |
+
<p>If you want a drop down menu style of page navigation, just replace <b>wp_pagenavi()</b> with <b>wp_pagenavi_dropdown()</b>.</p>
|
394 |
+
</li>
|
395 |
+
</ol>
|
396 |
+
</div>
|
397 |
+
</div>
|
398 |
+
</div>
|
399 |
+
<p id="Copyright">WP-PageNavi 2.10<br />Copyright © 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
|
400 |
+
</body>
|
401 |
+
</html>
|
readme.txt
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.10
|
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")
|