Hast du die Kategorien richtig definiert? Poste mal die index.php, vielleicht stehen da Kategorie-IDs drin die auf deine nicht zutreffen.
naja hab sie ganz normal angelegt wie sonst auch....
Hier die php, aber ich glaube des teil besteht aus der sidebars
<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<div class="breadcrumb">
<?php if (class_exists('breadcrumb_navigation_xt')) {
echo 'Browse > ';
// New breadcrumb object
$mybreadcrumb = new breadcrumb_navigation_xt;
// Options for breadcrumb_navigation_xt
$mybreadcrumb->opt['title_blog'] = 'Home';
$mybreadcrumb->opt['separator'] = ' / ';
$mybreadcrumb->opt['singleblogpost_category_display'] = true;
// Display the breadcrumb
$mybreadcrumb->display();
} ?>
</div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<div class="date">
<p><?php the_time('F j, Y'); ?></p>
</div>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<div class="postmeta">
<p>Written by <?php the_author(); ?> · Filed Under <?php the_category(', ') ?> <?php edit_post_link('(Edit)', '', ''); ?></p>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>
[B]Hab die einzelnen Sektionen gefunden die stehen in der Home.php blos wie krieg ich die Kategorien jetzt da rein damit sie auch angezeigt werden... Hier der code:[/B]
<?php get_header(); ?>
<div id="content">
<div id="homepage">
<div id="homepageleft">
<div class="featured">
<b>Breaking Sports News</b>
<img style="margin:5px 0px 10px 0px" src="<?php bloginfo('template_url'); ?>/images/hp-main.jpg" alt="Featured Story" />
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(125, "Read more »"); ?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
<div class="newsletter">
<b>eNews & Updates</b>
<p>Sign up to receive the latest breaking news, as well as all of your other favorite headlines!</p><form action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><p><input type="text" value="Enter your email address..." id="s2" onfocus="if (this.value == 'Enter your email address...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter your email address...';}" name="email"/><input type="hidden" value="http://feeds.feedburner.com/~e?ffid=FEEDBURNERID" name="url"/><input type="hidden" value="eNews Subscribe" name="title"/><input type="submit" value="GO" id="sbutt2" /></p></form>
</div>
<div style="clear:both;"></div>
<h2>Latest Headlines</h2>
<ul>
<?php get_archives('postbypost', 10); ?>
</ul>
</div>
<div id="homepageright">
<h2>Sports News Section #1</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(130, ""); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story »</a></p>
</div>
<?php endwhile; ?><br />
<h2>Sports News Section #2</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(130, ""); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story »</a></p>
</div>
<?php endwhile; ?><br />
<h2>Sports News Section #3</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(130, ""); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story »</a></p>
</div>
<?php endwhile; ?><br />
<h2>Sports News Section #4</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(130, ""); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story »</a></p>
</div>
<?php endwhile; ?><br />
<h2>Sports News Section #5</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(130, ""); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read the story »</a></p>
</div>
<?php endwhile; ?><br />
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>
Alles anzeigen