Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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)


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 10, 2011, 05:57 AM
lakewooditsupport
 
48 posts · Jun 2011
England, United Kingdom
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?
  #2  
Old Sep 10, 2011, 12:24 PM
lakewooditsupport
 
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

Code:
<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 -->	
						
</td>

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

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

Have a look at the result here: http://www.lakewoodmedia.co.uk
  #3  
Old Sep 10, 2011, 12:41 PM
juggledad's Avatar
juggledad
 
22,243 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
  #4  
Old Nov 16, 2011, 05:19 AM
mimi's Avatar
mimi
 
70 posts · Feb 2009
over there...
Thanks for this, would be great to be able to get more columns though.

Bookmarks

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 11:55 AM.


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