I am using a copy of index.php, renamed it to post-template.php. I added at the begining of the file.
Code:
<?php /* creates a Post Template */ /* Template Name Posts: Post-Template */ ?>
I made all of the changes I wanted. I added them below:
Code:
<?php /* This is the actual Wordpress LOOP. The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */ bfa_center_content($bfa_ata['content_inside_loop']); ?>
All of this works. The issue I am running into is when I use this custom post template, the information is added below the Information bar (bar that contains the Date, Category, Edit Post). I have tried moving my content to different areas within my post-template.php file. With no luck.
If it helps, here is a copy of my post-template.php
Code:
<?php /* creates a Post Template */
/*
Template Name Posts: Custom-Post
*/
?>
<?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 /* This outputs the next/previous post or page navigation.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_above_loop']); ?>
<?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 /* This is the actual Wordpress LOOP.
The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_inside_loop']); ?>
<?php echo c2c_get_post_custom(559,"post-top"); ?>
<table align="left" style="width: 800px">
<tbody>
<tr style="height: 25px;">
<td style="text-align: center; height: 300px;" colspan="6" align="center" valign="top"><?php echo do_shortcode('[starratingmulti id=4 tpl=12]'); ?>
<strong>Write your own review of <?php echo c2c_get_custom(name); ?> at the bottom of this page.</strong></td>
<td style="text-align: right;" colspan="3" align="right"><?php echo c2c_get_post_custom(559,"ad-square"); ?></td>
</tr>
</tbody>
</table>
<?php echo c2c_get_post_custom(559,"post-middle"); ?>
<h1><?php echo c2c_get_custom(name); ?> Details</h1>
<?php echo c2c_get_custom(details); ?>
<h3>Recreation near <?php echo c2c_get_custom(name); ?></h3>
<?php echo c2c_get_custom(recreation); ?>
<h3>Directions to <?php echo c2c_get_custom(name); ?></h3>
<?php echo c2c_get_custom(directions); ?>
<h3>Photo Gallery</h3>
<?php echo do_shortcode('[showtime]'); ?>
<h4>Additional Information</h4>
<?php echo c2c_get_post_custom(559,"ad-footer"); ?>
<?php echo c2c_get_post_custom(559,"post-bottom"); ?>
<h4>Write your own review of <?php echo c2c_get_custom(name); ?> below:</h4>
<?php /* END of the LOOP */
endwhile; ?>
<?php /* This outputs the next/previous post or page navigation and the comment template.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_below_loop']); ?>
<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>
<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_not_found']); ?>
<?php endif; /* END of: If there are no posts */ ?>
<?php bfa_center_content($bfa_ata['center_content_bottom']); ?>
<?php get_footer(); ?>










Threaded Mode