Liebe Forenmitglieder,
für die Website von Herz-Jesu-Essen (herz-jesu-essen :: kirche im ruhrgebiet) benutze ich das Thema "mollio"; in der sidebar ist ein Fehler enthalten, der sich bemerkbar macht, wenn man nach "home" eine Kategorie (gelistet unter "Gedankenaustausch") anklickt: Es öffnet sich zwischen "Aktivität" und "Gedankenaustausch" eine leere Box. Ich habe - glaube ich - wirklich alles probiert, bin aber mit meinem Latein am Ende. Ob von Euch jemand Hilfe leisten kann? Ich würde mich riesig freuen.
Gruß Heiner
Die sidebar.php hat folgenden Inhalt:
PHP
<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(1) ) : ?>
<div class="featurebox">
<?php /* If this is a category archive */ if (is_category()) { ?>
<h3>Aktivität</h3><ul>
<li><p>Sie durchsuchen gerade das Thema:
<strong><?php single_cat_title(''); ?></strong>
</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<h3>Aktivität</h3><ul><li><p>Sie befinden sich gerade im Archiv der neuen Themen <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> für den
<?php the_time('l, F jS, Y'); ?>
.</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h3>Aktivität</h3><ul><li><p>Sie befinden sich gerade im Archiv der neuen Themen <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> im Monat
<strong><?php the_time('F Y'); ?></strong>
.</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h3>Aktivität</h3><ul><li><p>Sie befinden sich gerade im Archiv der Themen <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> für das Jahr
<?php the_time('Y'); ?>
.</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this is a search */ } elseif (is_search()) { ?>
<h3>Aktivität</h3><ul><li><p>Sie haben die Webseite <?php echo bloginfo('name'); ?> nach dem Wort "<strong><?php echo wp_specialchars($s); ?></strong>" durchsucht.</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h3>Aktivität</h3><ul><li><p>Sie befinden sich gerade im Archiv zum Thema <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a>.</p></li></ul>
</div>
<div class="featurebox">
<?php /* If this homepage */ } elseif (is_home()) { ?>
<h3><?php if (is_user_logged_in() ) { ?>
Hallo <?php global $user_login; echo $user_login; ?>
<?php } ?></h3>
<ul><li><p>
Beiträge und Kommentare, Hinweise und Tipps sind gerne willkommen.</p></li></ul>
<?php } ?>
</div>
<div class="featurebox">
<h3>Gedankenaustausch</h3>
<ul>
<?php wswwpx_fold_category_list(0, '', 'name', 'ASC', '/', true, 0, 0); ?>
</ul>
</div>
<div class="featurebox">
<?php if (function_exists('get_recent_comments')) { ?>
<h3><?php _e('Zuletzt meinte ...'); ?></h3>
<ul>
<?php get_recent_comments(); ?>
</ul>
<?php } ?>
</div>
<div class="featurebox">
<h3><?php _e('Meta:'); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
<?php wp_meta(); ?>
</ul>
</div>
<?php endif; ?>
</div>
Alles anzeigen