Hello.
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.
example:
http://skr-silniy.org/
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']); ?>
</td>
<?php if ($column == 3) echo "</tr>"; (($column==2) ? $column=3 : $column=2); ?>
<?php // END of the LOOP
endwhile; ?>
</table>
<?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
Quote:
You will probably have to use a counter.
|
What am I doing wrong!!?? 
Please help, what to do?