Da mir in meinem anderen Thread nicht mehr geholfen werden will, mach ich das hier nochmal übersichtlich.
Ich hab eine Template für diese Kategorie erstellt: http://tellingbeatzz.net/category/Instrumentals-2
Wie man sieht funktioniert es aus diversen Gründen nicht, ich würde gerne wissen wieso?
Das hier ist der verwendete code:
PHP
<?php
get_header();
//OptionTree Stuff
if ( function_exists( 'get_option_tree') ) {
$theme_options = get_option('option_tree');
$crumbs = get_option_tree('crumbs_on_off',$theme_options);
}
if ($crumbs && function_exists('dimox_breadcrumbs')) dimox_breadcrumbs();
?>
<h2 class="hTitle"><?php single_cat_title(); ?>
<?php if (category_description() == '') : else : remove_filter('term_description','wpautop'); ?>
// <small><?php echo category_description(); ?></small>
<?php endif; ?>
</h2>
<div id="main">
<div class="listing">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<?php include("thumbnail.php"); ?>
<h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_content(); ?></p>
<div class="postMeta">
<a class="readMore" href="<?php the_permalink() ?>">Read more →</a>
<?php the_time('F j, Y'); ?> // <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> // <?php the_tags('', ', '); ?>
</div>
<div class="clear"></div>
</div><!--end post-->
<?php
endwhile;
include("navigation.php");
else :
?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div><!--end listing-->
</div><!--end main-->
<?php get_sidebar(); get_footer(); ?>
Alles anzeigen