Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Multiple Post page 2 columns ( I have searched for this)

Old Sep 10, 2011, 05:57 AM
48 posts · Jun 2011
England, United Kingdom
Multiple Post page 2 columns ( I have searched for this)

I have searched for thing and can't find an up to date version of the method to make this work.

I want to have 2 columns in the blog page for my site, I also want to have a thumbnail images in the post preview them have a full version of the image in the post.

I have tried different inserts in the index.php file and can't get this to work.

Could anyone give me a hand or point me in the right direction?
Old Sep 10, 2011, 12:24 PM
48 posts · Jun 2011
England, United Kingdom
Okay I managed to get it sorted, for anyone viewing and wondering how.

I used this code for the display posts in the index.php

<table cellpadding="10" cellspacing="10" border="0">
<?php $column = 1; ?>
<?php // The LOOP. Do this for all posts:
while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>

<?php if ($column == 1) echo "<tr>"; ?>

<td class="column<?php echo $col;?>" style="vertical-align: top" width="50%"> 
		<?php // Deactivated since 3.6.5
		#include 'bfa://content_inside_loop'; 
		// Uses the following static code instead: ?>
		<?php bfa_next_previous_post_links('Top'); // For SINGLE post pages if activated at ATO -> Next/Previous Navigation  ?>
		<?php /* Post Container starts here */
		if ( function_exists('post_class') ) { ?>
		<div <?php if ( is_page() ) { post_class('post'); } else { post_class(); } ?> id="post-<?php the_ID(); ?>">
		<?php } else { ?>
		<div class="<?php echo ( is_page() ? 'page ' : '' ) . '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 if ($column == 2) echo "</tr>"; (($column==1) ? $column=2 : $column=1); ?>

<?php // END of the LOOP
endwhile; ?>
Then used featured images to have a thumb nail on the excerpts.

Have a look at the result here: http://www.lakewoodmedia.co.uk
Old Sep 10, 2011, 12:41 PM
juggledad's Avatar
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Sorry I didn't get to tell you this earlier, there is a tutorial in the gold Forums 'HOWTO: "JUGGLEDAD's two columm posts" PAGE template with posts above the columns'
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Nov 16, 2011, 05:19 AM
mimi's Avatar
70 posts · Feb 2009
over there...
Thanks for this, would be great to be able to get more columns though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Multiple columns in Post area: html table TVAmsterdam Center area post/pages 2 Sep 8, 2011 03:10 PM
Post Summary Page in Multiple Columns SupraTT Center area post/pages 0 Mar 17, 2011 03:15 AM
Center Column on "Page" Pages - multiple columns within/floating images? seb Header configuration & styling 0 Jan 27, 2010 01:28 PM
Adding signature under single post, not on frontpage /multiple-post page AnneTanne Post-Kicker, -Byline & -Footer 0 Aug 19, 2009 02:16 PM
Sticky spanning over multiple columns tkeller Header configuration & styling 3 Aug 2, 2009 05:23 PM

All times are GMT -6. The time now is 10:36 PM.

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