Hallo,
ich würde gern versuchen im einzelnen Beitrag die Sidebar unter dem Content einzufügen und den Content dann über die volle "Blogbreite" anzuzeigen. Ist das machbar? Wenn ja könnte mir eventuell jemand helfen?
VG Tom
Folgend der Code der Single.php
PHP
<?php get_header(); ?><div id="wrapper">
<?php $featuredids = rwp('featuredids'); if (!empty($featuredids)) { include(TEMPLATEPATH."/content_featured.php"); } ?>
<div id="contentcontainer" class="container_16 containermargin">
<div id="content" class="grid_10">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; endif;?>
<?php get_template_part( 'single-related' ); ?>
<?php comments_template( '', true ); ?>
</div><!-- #content -->
<?php get_sidebar(); ?>
<div style="clear:both;"></div>
</div><!-- #contentcontainer -->
<div class="next-previous_nav next-previous_nav_previous">
<div class="nav-previous"><?php previous_post_link( '%link', '<span>%title</span>' ); ?></div>
</div>
<div class="next-previous_nav next-previous_nav_next">
<div class="nav-next"><?php next_post_link( '%link', '<span>%title</span>' ); ?></div>
</div>
</div><!-- #wrapper -->
<?php get_footer(); ?>
Alles anzeigen