Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How to show some posts in full, others as excerpts on my homepage? (http://forum.bytesforall.com/showthread.php?t=11173)

winterveg Nov 15, 2010 07:38 AM

[SOLVED] How to show some posts in full, others as excerpts on my homepage?
 
Hi,

I'm a Wordpress/PHP noob running Atahualpa 3.5.3.

I'd like my blog's homepage to display the first three posts in full, then the rest as excerpts. At the moment, they all appear as excerpts - see my homepage.

Can anyone tell me how I do that? I've searched via these forums + Google but can't work it out.

I'm assuming I need to tweak the Loop with some kind of conditional statement.

I'm looking at the Loop via Atahualpa Theme Options > Style/Edit Center Column. Here's what's there currently:

<?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 -->


Any help much appreciated!

winterveg Nov 15, 2010 07:54 AM

Aha, got it. In case it's useful for anyone else:

From the WP dashboard

Atahualpa Theme Options > Configure Excerpts > Posts or Excerpts on Homepage


All times are GMT -6. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.