Hey,
ich habe gestern mal wieder an meinem Theme rum gespielt und habe nun folgendes Ergebnis, was man auf dem Screen auch sehen kann.
Dieses gefällt mir sehr gut, jedoch weiß ich, dass der Code dabei recht fehlerhaft ist.
Wäre es möglich, dass bitte jemand drüber schaut und diese Fehler behebt ?
Vielen Dank
PHP
<div id="sidebar" class="clearfix">
<div id="xsnazzy"><!--Search Box Start -->
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<div class="tabber">
<div class="tabbertab">
<h2>Suche</h2>
<?php include(TEMPLATEPATH."/searchform.php");?>
</div>
<div class="tabbertab">
<h2>Archiv</h2>
<ul class="tablist">
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
<div class="tabbertab">
<h2>Kategorien</h2>
<ul class="tablist">
<?php wp_list_categories('orderby=name&title_li'); ?>
</ul>
</div>
<div class="tabbertab">
<h2>Kommentare</h2>
<ul class="tablist">
<?php if (function_exists('get_recent_comments')) { ?>
<li>
<ul>
<?php get_recent_comments(); ?>
</ul>
</li>
<?php } ?>
<?php if (function_exists('get_recent_trackbacks')) { ?>
<li>
<ul>
<?php get_recent_trackbacks(); ?>
</ul>
</li>
<?php } ?>
</ul>
</div>
<div class="tabbertab">
<h2>Sponsor</h2>
<ul class="tablist">
<li>iPhoneWerkstatt.eu</li>
<li>ApfelPortal.de</li>
<li>wpSEO.de</li>
</ul>
</div>
</div><!--Tabber end -->
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
</div><!--Search box end -->
<div class="advertise">
<?php include(TEMPLATEPATH."/sidebar_featured.php"); ?>
</div>
<div id="sidebarwrap" class="clearfix">
<!--Popular Start -->
<div id="pxsnazzy">
<b class="pxtop"><b class="pxb1"></b><b class="pxb2"></b><b class="pxb3"></b><b class="pxb4"></b></b>
<div class="pxboxcontent">
<div id="popular">
<ul>
<li>
<h2>letzte Artikel</h2>
<ul >
<?php $recent = new WP_Query("showposts=8"); while($recent->have_posts()) : $recent->the_post();?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>
</li>
</ul>
<div id="popular-bottom"></div>
</div>
</div>
<b class="pxbottom"><b class="pxb4"></b><b class="pxb3"></b><b class="pxb2"></b><b class="pxb1"></b></b>
</div><!--Search box end -->
<!--Test -->
<div id="xsnazzy"><!--Search Box Start -->
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<div class="tabbertab">
<h2>AppStore</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=4&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
<div class="tabber">
<h2>Cydia</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=6&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
<div class="tabbertab">
<h2>Installer</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=9&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
</div><!--Tabber end -->
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
</div><!--Search box end -->
<!--Test -->
<br />
<!--Test -->
<div id="xsnazzy"><!--Search Box Start -->
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<div class="tabbertab">
<h2>Anleitungen</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=101&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
<div class="tabbertab">
<h2>Unlocking</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=83&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
<div class="tabbertab">
<h2>Dev-Team</h2>
<ul class="tablist">
<?php $my_query = new WP_Query('cat=15&showposts=10'); ?>
<ul>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
<?php endwhile; ?>
</ul>
</ul>
</div>
</div><!--Tabber end -->
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
</div><!--Search box end -->
<!--Test -->
<?php include(TEMPLATEPATH."/l_sidebar.php");?>
<?php include(TEMPLATEPATH."/r_sidebar.php");?>
</div>
</div>
<!--sidebar.php end-->
Alles anzeigen