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 »

Need help - want to make the site an article in 4 columns

Old May 12, 2010, 07:02 AM
Budun's Avatar
362 posts · Apr 2010
Sorry for bad English.

I want to make the site an article in 3-4 columns, sequentially arranged from left to right!

I tried to do as here described, does not work.
I use WP 2.9.2 Atahualpa 349
Help please.

Last edited by Budun; May 12, 2010 at 07:27 AM. Reason: Need help!
Old May 12, 2010, 11:52 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can look at http://forum.bytesforall.com/showthread.php?t=1288 and try a variation on that code. You will probably have to use a counter.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old May 14, 2010, 07:28 PM
Budun's Avatar
362 posts · Apr 2010
Sorry for bad English

I never cease to marvel at Atahualpa, very convenient and fast in editing.
Using your hint http://forum.bytesforall.com/showthread.php?t=1288
in two columns works, shows well.
But I can not get a positive result of 3-4 column
top row, works well, continued bad.
That's index.php which I edited
PHP Code:
<?php     /* get all options: */
include (TEMPLATEPATH '/functions/bfa_get_options.php');
get_header(); ?>

<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] == 0/* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
    <?php /* This outputs the next/previous post or page navigation. 
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_above_loop']); ?>

    <table cellpadding="0" cellspacing="0" border="0">
    <?php $column 1?>
    <?php // The LOOP. Do this for all posts:
while (have_posts()) : the_post(); $postcount++; ?>
        <?php if ($column == 1) echo "<tr>"?>
        <td class="column<?php echo $col;?>" style="vertical-align: top">
        <?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
$odd_or_even = (($bfa_ata['postcount'] % 1) ? 'odd-post' 'even-post' ); ?> 

        <?php /* This is the actual Wordpress LOOP. 
        The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_inside_loop']); ?>
        <?php if ($column == 3) echo "</tr>"; (($column==2) ? $column=$column=2); ?>        
    <?php // END of the LOOP
endwhile; ?> 

    <?php /* This outputs the next/previous post or page navigation and the comment template.
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_below_loop']); ?>

<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>

<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
bfa_center_content($bfa_ata['content_not_found']); ?>

<?php endif; /* END of: If there are no posts */ ?>

<?php bfa_center_content($bfa_ata['center_content_bottom']); ?>

<?php get_footer(); ?>
What do you mean
You will probably have to use a counter.
What am I doing wrong!!??
Please help, what to do?

Last edited by Budun; May 15, 2010 at 01:49 AM. Reason: How to make 3-4 or more columns


four columns, posts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modification article lecalve Atahualpa 3 Wordpress theme 0 Mar 23, 2010 05:33 AM
Need help make my blog look like a custom designed site queenw Customization, Design, Programming... 1 Dec 17, 2009 01:19 AM
the article does not appear in full ! CYRILO Sidebars & Widgets 0 Sep 6, 2009 07:21 AM
How do I limit it to one article per page and make these additions to Leave Comments? TwtrCoach Forum How-To 4 Jun 23, 2009 08:20 AM
Can I make my page menu bar look like my web site? susanowm Page & Category Menu Bars 2 Mar 16, 2009 06:08 PM

All times are GMT -6. The time now is 10:25 AM.

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