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 »

Displaying posts in two columns in centre area

Old Jan 5, 2010, 12:41 PM
giveabrick's Avatar
3 posts · Jan 2010
Send a message via Skype™ to giveabrick
My site currently has all the post excerpts listed in a vertical column on the front page: http://www.GiveABrick.com

However, I'd love to have the excerpts organised in two columns within the centre area. I've seen it done here with the thesis theme:

But I love the atahualpa theme, am delighted with the layout otherwise and really don't want to pay for another theme.

I understand from another thread on here that it's not possible without fiddling with the code. Whilst I can't write code, if someone clever knows how to do this, I am able to change what needs to be changed.

Finally, since I only want to display excerpts rather than full posts of varying sizes, I'm hoping the issue discussed here is obsolete: http://forum.bytesforall.com/showthr...=posts+columns

Any help you could offer would be greatly appreciated and all for a good cause too

Thanks for your time,
Old Jan 5, 2010, 01:25 PM
giveabrick's Avatar
3 posts · Jan 2010
Send a message via Skype™ to giveabrick
Ok, so I found comprehensive instructions here: http://forum.bytesforall.com/showthread.php?t=1288

But when I did this, despite checking and double checking that I had the 'excerpts only' setting right, when I upload the new home.php file, I get the table with posts in two columns but it won't show excerpts.

I tried disabling plugins but it made no difference. All I can do for now is delete home.php and go back to index.php instead.

Any ideas please?

Old Jan 5, 2010, 10:02 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
I was curious about how this could be done and noticed that the index.php has a secion with the following code.
HTML Code:
<?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */

		$odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' : 'even-post' ); ?>
It would seem like that could perhaps be used to create a two column layout. Anybody have any thoughts?
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Jan 6, 2010, 03:51 AM
giveabrick's Avatar
3 posts · Jan 2010
Send a message via Skype™ to giveabrick
I'm still playing around with the original instructions I found from the other post. When added as instructed, it does put the posts in two columns.

However, it totally overides the code instructing it to display excerpts. I've tried working round it by creating hand made excerpts for the first four posts and then telling it to only display a max of 4 posts on a page. (I'll do this for the other posts too eventually but was trying to save a little time and get this fixed!)

I also tried disabling an excerpt plugin I had installed but to no avail. Is there some way in the code to tell it to always, always display excerpts? (other than the settings discussed within the theme options)

I have everything set to 'excerpts only' but the code given on the other post (altering index.php) somehow overrides this instruction totally!

Any other ideas?



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 columns for posts on blog home page? redbiker Center area post/pages 81 May 25, 2011 07:12 PM
Displaying Posts Using a Custom Select Query Thomas Center area post/pages 0 Dec 28, 2009 09:14 AM
[SOLVED] creating a vertical space in between left sidebar and centre column area rinoa3108 Header configuration & styling 2 Dec 17, 2009 03:32 PM
Old posts and sidebar not displaying? aamorrison Sidebars & Widgets 11 Oct 17, 2009 11:09 AM
Disply posts in all three columns-- plus, ideally, a widget or two, too? petevannuys Sidebars & Widgets 2 Jun 11, 2009 07:51 PM

All times are GMT -6. The time now is 09:22 PM.

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