Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

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


  #1  
Old Nov 15, 2010, 08:38 AM
winterveg
 
2 posts · Nov 2010
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!

Last edited by winterveg; Nov 15, 2010 at 08:39 AM. Reason: Clarifying post title
  #2  
Old Nov 15, 2010, 08:54 AM
winterveg
 
2 posts · Nov 2010
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

Bookmarks

Tags
posts homepage excerpt



Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts juggledad Old Version fixes and change logs 1 Jul 13, 2010 06:42 AM
[SOLVED] 3.5.1 Bug? Show the first X posts on HOME page as full posts - not working Fux Excerpts, Read more, Pagination 6 May 30, 2010 02:59 AM
Multiple category pages - excerpts/full posts dberg Center area post/pages 0 May 5, 2010 04:56 AM
Different styles for excerpts and full posts? daniel3ub Excerpts, Read more, Pagination 3 Oct 20, 2009 07:09 PM
Only show page title, not excerpts or full, on tag pages. Alphanon Excerpts, Read more, Pagination 2 Mar 3, 2009 11:18 AM


All times are GMT -6. The time now is 04:23 AM.


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