Changeset 32 for trunk/wp-content/themes/xpress_default/functions.php
- Timestamp:
- Dec 17, 2008, 12:18:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/functions.php
r1 r32 10 10 load_theme_textdomain('kubrick'); 11 11 12 function the_credit()13 {14 15 }16 17 function is_sidbar_disp()18 {19 return true;20 }21 22 function kuro_previous_post_link($format='« %link', $link='%title', $in_same_cat = false, $excluded_categories = '')23 {24 $pre_title = __('Previous Post'); // This text is included in the language file that exists in WordPress2.3 or the version after that.25 26 ob_start();27 previous_post_link($format,$link,$in_same_cat,$excluded_categories);28 $ret = ob_get_contents();29 ob_end_clean();30 $ret= str_replace('">','" title="'. $pre_title . '">' , $ret);31 echo $ret;32 }33 34 function kuro_next_post_link($format='%link »', $link='%title', $in_same_cat = false, $excluded_categories = '')35 {36 $next_title = __('Next Post'); // This text is included in the language file that exists in WordPress2.3 or the version after that.37 38 ob_start();39 next_post_link($format,$link,$in_same_cat,$excluded_categories);40 $ret = ob_get_contents();41 ob_end_clean();42 $ret= str_replace('">','" title="'. $next_title . '">' , $ret);43 echo $ret;44 }45 46 12 function kubrick_head() { 47 13 $head = "<style type='text/css'>\n<!--";
Note: See TracChangeset
for help on using the changeset viewer.