Hi, you can see my “mymessage()” function at the bottom of my single page. Here is the code from it
<?php get_header(); ?>
<div id=”post-entry”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post-meta” id=”post-<?php the_ID(); ?>”>
<div class=”top-meta”>
<div class=”post-title”>
<h1>
<?php the_title(); ?>
</h1>
<div class=”post-author”>
<?php _e(‘Posted by’); ?> <?php the_author(); ?>
on
<?php the_time(‘l, F jS Y’) ?>
<?php edit_post_link(‘edit’); ?>
<?php include (TEMPLATEPATH . ‘/submit.php’); ?>
<?php include (TEMPLATEPATH . ‘/ratings.php’); ?>
</div>
</div>
<div class=”calendar”>
<?php the_time(‘j’); ?>
<span class=”c-month”>
<?php the_time(‘M’); ?>
</span></div>
</div>
<div class=”post-content”>
<div class=”post-content6″>
</div>
<?php the_content(); ?>
<p class=”enjoyit”> Leave a “>trackback </p>
</div>
<?php include (TEMPLATEPATH . ‘/social.php’); ?>
</div>
<?php endwhile; ?>
<?php comments_template(); ?>
<?php include (TEMPLATEPATH . ‘/paginate.php’); ?>
<?php else: ?>
<?php include (TEMPLATEPATH . ‘/result.php’); ?>
<?php endif; ?>
<div class=”post-content”>
<div style=”font-size:12px; color:#000000″>My Message</div>
<?php echo mymessage(); ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>