Changeset 32 for trunk/wp-content/themes
- Timestamp:
- Dec 17, 2008, 12:18:56 PM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_default
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/footer.php
r1 r32 1 1 <hr /> 2 2 <div id="xpress_footer"> 3 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->4 3 <p> 5 <?php printf(__('%1$s is proudly powered by %2$s', 'kubrick'), get_bloginfo('name'),the_credit()); ?> 6 <br /><?php printf(__('%1$s and %2$s.', 'kubrick'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'kubrick') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'kubrick') . '</a>'); ?> 4 <?php printf(__('%1$s and %2$s.', 'kubrick'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'kubrick') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'kubrick') . '</a>'); ?> 7 5 <!-- <?php printf(__('%d queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0, 3)); ?> --> 8 6 </p> 7 <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> 8 <div id="xpress_credit"><?php echo xpress_credit(). ' (' . xpress_convert_time() . ')'; ?></div> 9 9 </div> 10 10 </div> -
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<!--"; -
trunk/wp-content/themes/xpress_default/index.php
r1 r32 3 3 <div id="xpress_wrap"> 4 4 5 <?php if( is_sidbar_disp()) : ?>5 <?php if(xpress_is_theme_sidebar_disp()) : ?> 6 6 7 7 <div id="xpress_content" class="narrowcolumn"> -
trunk/wp-content/themes/xpress_default/single.php
r1 r32 13 13 14 14 <div class="xpress_single_navigation"> 15 <div class="alignleft"><?php kuro_previous_post_link('« %link') ?></div>16 <div class="alignright"><?php kuro_next_post_link('%link »') ?></div>15 <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div> 16 <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div> 17 17 </div> 18 18 -
trunk/wp-content/themes/xpress_default/style.css
r25 r32 141 141 font-size: 0.9em; 142 142 } 143 144 #xpress_credit { 145 font-size: 0.9em; 146 color: darkgray; 147 } 148 #xpress_credit a { 149 font-size: 0.9em; 150 color: darkgray; 151 } 143 152 /* End Typography & Colors */ 144 153 … … 250 259 margin: 0; 251 260 padding: 20px 0; 261 text-align: center; 262 } 263 264 #xpress_credit { 265 margin: 0; 266 padding: 0; 252 267 text-align: center; 253 268 }
Note: See TracChangeset
for help on using the changeset viewer.