Ok i found the solution. The code has changed, so Flynn i'm rewriting here
the update of the code-trick above. i hope that will help others too
Cut the following from header.php:
PHP Code:
<?php if ( $bfa_ata['left_col'] == "on" ) { ?>
<!-- Left Sidebar -->
<td id="left">
<?php // Widgetize the Left Sidebar
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
<div class="widget widget_categories"><div class="widget-title">
<h3><?php _e('Categories','atahualpa'); ?></h3>
</div><div class="widget-content">
<ul>
<?php wp_list_categories('show_count=1&title_li='); ?>
</ul>
</div></div>
<div class="widget widget_archive"><div class="widget-title">
<h3><?php _e('Archives','atahualpa'); ?></h3>
</div><div class="widget-content">
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div></div>
<?php endif; ?>
</td>
<!-- / Left Sidebar -->
<?php } ?>
and paste into footer.php, right before this:
PHP Code:
<?php if ( $bfa_ata['right_col'] == "on" ) { ?>
<!-- Right Sidebar -->
<td id="right">
<?php // Widgetize the Right Sidebar
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
<div class="widget"><div class="widget-title">
<h3>Recent Posts</h3></div><div class="widget-content">
<?php $r = new WP_Query(array(
'showposts' => 20,
// 'cat__in'=>array(14),
'cat__not_in'=>array(15,80),
'what_to_show' => 'posts',
'nopaging' => 0,
'post_status' => 'publish',
'caller_get_posts' => 1));
if ($r->have_posts()) : ?>
<ul>
<?php while ($r->have_posts()) : $r->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li>
<?php endwhile; ?>
</ul>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
endif; ?>
</div></div>
<div class="widget"><div class="widget-title">
<?php wp_list_bookmarks('category_before=&category_after=&title_before=<h3>&title_after=</h3></div><div class="widget-content">'); ?>
</div></div>
<div class="widget"><div class="widget-title">
<h3><?php _e('Meta','atahualpa'); ?></h3>
</div><div class="widget-content">
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://wordpress.org/" title="
<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.','atahualpa'); ?>">
<?php _e('WordPress','atahualpa'); ?></a></li>
<?php wp_meta(); ?>
</ul>
</div></div>
<?php endif; ?>
</td>
<!-- / Right Sidebar -->
<?php } ?>
Go back to header.php and change this:
PHP Code:
<colgroup>
<?php if ( $bfa_ata['left_col'] == "on" ) { ?>
<col class="colone" />
<?php } ?>
<col class="coltwo" />
<?php if ( $bfa_ata['right_col'] == "on" ) { ?>
<col class="colthree" />
<?php } ?>
</colgroup>
to this:
PHP Code:
<colgroup>
<col class="coltwo" />
<?php if ( $bfa_ata['left_col'] == "on" ) { ?>
<col class="colone" />
<?php } ?>
<?php if ( $bfa_ata['right_col'] == "on" ) { ?>
<col class="colthree" />
<?php } ?>
</colgroup>
I don't know if i'm perfectly right (Flynn ?) cause there is the new widget code inside, but as i can see, it works now for me.