Shall I show you one of the post templates I made? This is for our Career Doctor column. The columnist wanted her photo and a link to a contact form at the bottom of all of her posts. I used index.php, put the specialized Single Post template name at the top (and named the file my-career-doctor-template.php), and then added the other orange text to the file. I put it in the theme folder, and now when she does a new post, she can choose from the drop-down template menu to find this one and apply it.
You can see it in action. Go here
http://www.larchmontgazette.com/category/careerdoctor/ and click on one of the posts. To get the photo at the top of the category page, I used a new widget area.
Code:
<?php
/*
Single Post Template: my-career-doctor-template
Description: This part is optional, but helpful for describing the Post Template
*/
?>
<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>
<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] == 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
<?php /* For MULTI post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_page_links('Top'); ?>
<?php /* For the plugin Page2Cat http://wordpress.org/extend/plugins/page2cat/ */
if( is_category() AND function_exists('page2cat_output')) { page2cat_output($cat); } ?>
<?php /* The LOOP starts here. Do this for all posts: */
while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>
<?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
$odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' : 'even-post' ); ?>
<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>
<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>
<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
</div><!-- / Post -->
<?php /* END of the LOOP */
endwhile; ?>
<?php /* Displayed on SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Middle'); ?>
<hr align=center>
<center><img src="http://www.larchmontgazette.com/wp27/wp-content/uploads/2009/12/plumezheader2.jpg"></center>
<p>Please <a href="http://larchmontgazette.com/careerdoctor/ask-the-career-doctor-a-question">click here</a> to ask the Career Doctor a question.</p>
<?php /* Load Comments template (on single post pages, and static pages, if set on options page): */
bfa_get_comments(); ?>
<?php /* Displayed on SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Bottom'); ?>
<?php /* Archives Pages. Displayed on a specific static page, if configured at ATO -> Archives Pages: */
bfa_archives_page('<div class="archives-page">','</div>'); ?>
<?php /* Displayed on MULTI post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_page_links('Bottom'); ?>
<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>
<h2><?php _e('Not Found','atahualpa'); ?></h2>
<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p>
<?php endif; /* END of: If there are no posts */ ?>
<?php get_footer(); ?>