Index: trunk/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 164)
+++ trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 165)
@@ -1,3 +1,38 @@
 <?php
+function xpress_the_title($show = false)
+{
+	$output = '<div class ="xpress-post-header">' . "\n";
+	
+	if (function_exists('hotDates')) {
+		ob_start();
+			hotDates();
+			$output .= ob_get_contents();
+		ob_end_clean();
+	}
+	$output .= '<div class ="xpress-post-title">' . "\n";
+	$output .= '<h2><a href="';
+	ob_start();
+		the_permalink();
+		$output .= ob_get_contents();
+	ob_end_clean();
+						
+	$output .= '" rel="bookmark" title="';
+	$output .= sprintf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0'));
+	$output .= '">';
+	ob_start();
+		the_title();
+		$output .= ob_get_contents();
+	ob_end_clean();
+	$output .= '</a></h2>' . "\n";
+	$output .= '</div>' . "\n";
+	$output .= '</div>' . "\n";
+	
+	if (empty($show))
+		return $output;
+	else
+		echo $output;
+
+}
+
 function xpress_selected_author($show=true ) {
 	$output = '';
