- Timestamp:
- Apr 8, 2009, 12:45:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r164 r165 1 1 <?php 2 function xpress_the_title($show = false) 3 { 4 $output = '<div class ="xpress-post-header">' . "\n"; 5 6 if (function_exists('hotDates')) { 7 ob_start(); 8 hotDates(); 9 $output .= ob_get_contents(); 10 ob_end_clean(); 11 } 12 $output .= '<div class ="xpress-post-title">' . "\n"; 13 $output .= '<h2><a href="'; 14 ob_start(); 15 the_permalink(); 16 $output .= ob_get_contents(); 17 ob_end_clean(); 18 19 $output .= '" rel="bookmark" title="'; 20 $output .= sprintf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); 21 $output .= '">'; 22 ob_start(); 23 the_title(); 24 $output .= ob_get_contents(); 25 ob_end_clean(); 26 $output .= '</a></h2>' . "\n"; 27 $output .= '</div>' . "\n"; 28 $output .= '</div>' . "\n"; 29 30 if (empty($show)) 31 return $output; 32 else 33 echo $output; 34 35 } 36 2 37 function xpress_selected_author($show=true ) { 3 38 $output = '';
Note: See TracChangeset
for help on using the changeset viewer.