Det er dette stykke her:
<div id="extra-sidebar">
<?php
if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<?php /*this tsuff supports the RSS Event plugin*/
if (function_exists('rs_event_list')) { ?>
<?php $rs_event_arg = array
(
"timespan" => 60 * 60 * 24 * 365,
"date_format" => "jS M 'y",
"time_format" => "g:i A",
"group_by_date" => true,
"event_html" => "<a href='%URL%'>%TITLE% (%TIME%)</a>",
"max_events" => 4,
);
rs_event_list($rs_event_arg);
?>
<?php } else { ?>
<?php
if (have_posts()) : while (have_posts()) : the_post();
if(wp_list_pages("child_of=".$post->ID."&echo=0")) {wp_list_pages("title_li=&child_of=".$post->ID."&depth=1&sort_column=menu_order&show_date=modified&date_format=$date_format");
$ListenIgen = 1;
}
else {
echo $ListenIgen;
echo "<a href='
www.bonnet-friskole.dk'><div id='extra-sidebar'>Her Skal Listen komme igen</div></a>";}
?>
<div class="post" id="post-
<?php the_ID(); ?>">
<?php endwhile; endif;?>
<?php } ?>
<?php endif; ?>
</div>