Thanx Flynn, for the help. I've gotten somewhere, but my posts won't show up.
This is what I'm aiming at;
http://newspiration.com/news/ and this is what I've created by making a new template;
http://newspiration.com/news/test-new-index/ .
and this is the code I've entered into the template; What am I missing?
<?php
/*
Template Name: twocol_h
*/
?>
<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>
<div class="txtboxhome1">
<?php if ( is_page('217') ) { ?>
<?php $my_query = new WP_Query('category_name=news&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post(); ?>
This should display the latest post in category 'news'
<?php endwhile; ?>
<?php } ?>
<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] == 1; /* Postcount needed for option "1 first posts full posts" */ ?>
</div>
<div class="txtboxhome2">
<?php if ( is_page('217') ) { ?>
<?php $my_query = new WP_Query('category_name=vip&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post(); ?>
This should display an exerpt of 4 lines of the latest post in category 'vip'
<?php endwhile; ?>
<?php } ?>
<br /><br />
<?php if ( is_page('217') ) { ?>
<?php $my_query = new WP_Query('category_name=inspiration&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post(); ?>
This should display an exerpt of 4 lines of the latest post in category 'inspiration'
<?php endwhile; ?>
<?php } ?>
<?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']); ?>
</div>
<?php get_footer(); ?>
With regards, Sakshin