Seid dem Umstieg auf 2.8 habe ich zwei Probleme und zwar :
1.) Werden meine 125 Banner nicht aufeinaml angezeigt, sondern wechseln immer wieder hin und her. Vorher waren es vier aufeinaml, was auch in Ordnung war.
2.) Des Weiteren werden meine letzten Links aus der Linksammlung nicht mehr angezeigt.
zu sehen auf Jung, Dynamisch und Anspruchsvoll « BenBase.de
Hier der Code:
PHP
<div id="sidebar">
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php if (is_front_page()) { ?>
<div class="clearfix"></div>
<?php } ?>
<?php if (!is_page(array(246,'linksammlung','Linksammlung')) ) { ?>
<h2>Neu in der Linksammlung</h2>
<dl>
<?php echo wpszene_linksammlung_sidebar(); ?>
</dl>
<?php } ?>
<?php if (!is_404() && !is_front_page()) { ?>
<h2>Werbung</h2>
<?php wp125_write_ads(); ?>
<div class="clearfix"></div>
<h2>Letzte Kommentare</h2>
<?php global $comment;
if ( $comments = $wpdb->get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID, comment_content FROM $wpdb->comments WHERE comment_approved='1' ORDER BY comment_date_gmt DESC LIMIT 3") ) : ?>
<dl>
<?php foreach ($comments as $comment) {
echo '<dt>' . sprintf('%s', get_comment_author_link(), '');
echo '</dt>' . "\n";
echo '<dd>' . '<span>»</span>' . sprintf('<a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '">' . $comment->comment_content . '</a>');
echo '</dd>' . "\n\n";
} ?>
</dl>
<?php endif; ?>
<?php } ?>
<h2>Stichwörter</h2>
<div class="wp-cloud">
<?php wp_tag_cloud('smallest=8&largest=18&number=80'); ?>
</div>
<?php global $user_ID;
get_currentuserinfo();
if ($user_ID) { ?>
<h2>Administration</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
<br />
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Transitional" border="0" height="31" width="88" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="CSS ist valide!" />
<br />
<a href="http://all-inkl.com/?partner=300103">
<img border="0" src="http://all-inkl.com/banner/button_hosted_by.gif" alt="ALL-INKL.COM - Webhosting Server Hosting Domain Provider" /></a>
<?php } else { ?>
<?php } ?>
<?php
endif; // End Widgets
?>
</div>
Alles anzeigen