Ich krieg noch die Krise :twisted::twisted:
Jetzt sieht es hier so aus:
klick mich
Wie man sieht, ist die Sidebar ganz unten, obwohl sie neben den Beiträgen sein sollte. Ich habe schon ein bisschen mit dem PHP-Editor herumexperimentiert, bin aber auf keine Lösung gekommen.
Hier ist der Quellcode:
<?php
/*
Template Name: testtesttesttest
*/
?>
<?php get_header(); ?>
<div id="inhalt">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="beitrags-titel">
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
<div class="beitrags-info"><?php the_time('l, d. F Y'); ?> von <?php the_author() ?> <?php edit_post_link('**', ' ', ''); ?></div>
<div class="beitrag">
<?php the_content(__('(more...)')); ?>
</div>
<div class="feedback">
<?php wp_link_pages(); ?>
<div class="beitrags-info2"><?php _e("Category:"); ?> <?php the_category(',') ?> | <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></div>
</div>
<?php rewind_posts();
global $more;
$more = 1;
$my_query = new WP_Query('order=asc&showposts=500');
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="beitrags-info"><?php the_time('j F, Y'); ?> von <?php the_author() ?> <?php edit_post_link('**', ' ', ''); ?></div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div>
<?php comments_template(); /*Get wp-comments.php template*/ ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php
if (function_exists('wp_pagebar')) {
wp_pagebar(array('before'=>'', 'tooltip_text'=>'Seite', 'next'=>'»', 'prev'=>'«'));
}
else { ?>
<div class="center"><?php posts_nav_link(' – ', __('« Previous Page'), __('Next Page »')); ?></div>
<?php } ?>
</div><!-- /inhalt -->
<?php endwhile; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Erkennt jemand einen Fehler? :confused: