Changeset 143 for trunk/wp-content/plugins/xpressme/include
- Timestamp:
- Mar 31, 2009, 12:22:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r141 r143 135 135 echo $ret; 136 136 } 137 // page link 138 function xpress_left_arrow_posts_link($show = false) 139 { 140 global $XPressME; 141 $ret = ''; 142 143 if($XPressME->is_left_page_navi_old){ 144 $link_title = $XPressME->old_page_link_text; 145 ob_start(); 146 next_posts_link("« $link_title"); 147 $ret = ob_get_contents(); 148 ob_end_clean(); 149 } else { 150 $link_title = $XPressME->newer_page_link_text; 151 ob_start(); 152 previous_posts_link("« $link_title"); 153 $ret = ob_get_contents(); 154 ob_end_clean(); 155 } 156 157 if (empty($show)) 158 return $ret; 159 else 160 echo $ret; 161 } 162 163 function xpress_right_arrow_posts_link($show = false) 164 { 165 global $XPressME; 166 $ret = ''; 167 168 if($XPressME->is_left_page_navi_old){ 169 $link_title = $XPressME->newer_page_link_text; 170 ob_start(); 171 previous_posts_link("$link_title »"); 172 $ret = ob_get_contents(); 173 ob_end_clean(); 174 } else { 175 $link_title = $XPressME->old_page_link_text; 176 ob_start(); 177 next_posts_link("$link_title »"); 178 $ret = ob_get_contents(); 179 ob_end_clean(); 180 } 181 182 if (empty($show)) 183 return $ret; 184 else 185 echo $ret; 186 } 187 137 188 138 189 function xpress_is_author_view_count(){ … … 278 329 $output = sprintf(__('Archive for the ‘%s’ Author', 'xpressme'), get_author_name( get_query_var('author'))); 279 330 if (is_search()) 280 $output = __('Search Results', 'xpressme');331 $output = sprintf(__('Search Results of word ‘%s’', 'xpressme'), get_search_query()); 281 332 282 333 if ($display)
Note: See TracChangeset
for help on using the changeset viewer.