Habe mir ein neues Template Sitemap erstellt, nur verschiebt sich das ganze wenn man auf der Seite klickt,
hier meine sitemap.php
PHP
<?php
/*
Template Name: Sitemap
*/
?>
<?php get_header(); ?>
<div id="container">
<div class="sitemap">
<?php get_sidebar(); ?></div>
<div class="sitemap2">
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
</div>
<div id="content">
<?php
$cat_ids = get_all_category_ids();
foreach ( $cat_ids as $cat_id ) :
$posts = query_posts('cat='.$cat_id.'&orderby=title&order=asc&posts_per_page=-1');
$category = get_category($cat_id);
?>
<h3><?php echo $category->cat_name; ?></h3>
<ul>
<?php foreach($posts as $post) : ?>
<li><a class="page" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li></div>
<?php endforeach; ?>
</ul>
<?php endforeach; ?>
</div></div>
<br class="clear" />
</div>
<?php get_footer(); ?>
Alles anzeigen
ist da im code was falsch?
Art of Tinkering - Sylvia bloggt