Hi,
wollte das hier:
PHP
<?php /* category */ if ( is_category()) { ?>
<p><blockquote><?php echo category_description(); ?></blockquote></p><br><br>
in die index.php setzen.
Allerdings bringt mir das Ding immer einen Fehler - allerdings ganz am Ende der Index.php
PHP
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div class="content-area">
<?php /* category */ if ( is_category()) { ?>
<p><blockquote><?php echo category_description(); ?></blockquote></p><br><br>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="entry">
<div class="entryin">
<!--header-->
<div class="entryhead">
<!--date-->
<div class="entrydate">
<div class="entryday"><?php the_time('j M, Y') ?>
</div>
</div>
<!--title-->
<div class="entrytitle">
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div>
<!--time-->
<div class="entrytime">
Posted by <?php the_author() ?> @ <?php the_time('g:i a'); ?>
</div>
<!--category-->
<div class="entrym">
<div class="entrymtext">
Shelved under <?php the_category(', ') ?>
</div>
</div>
</div><!--end header-->
<!--entry -->
<div class="entrybody">
<div class="entryinbody">
<?php the_content('continue reading this entry »'); ?>
<?php edit_post_link(__('Edit'), ' · ', ''); ?>
</div><!--end entry body, inner-->
</div>
<!--footer -->
<div class="entryfoot">
<div class="entrymcomm">
<div class="entrymcommtxt">
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Permalink </a> | <?php comments_popup_link('(no comments yet)', '1 comment', '% Comments'); ?>
</div>
</div><!-- end comments-->
</div><!-- end entry footer -->
</div></div><!-- end entry,entry-inner -->
<div class="spaceforentry"></div>
<a name="comments"></a>
<?php comments_template(); ?>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; ?>
<div class="entry-body">
<div class="entry-body-inner">
<p><?php posts_nav_link(' -- ', '« Previous', 'Next »'); ?></p>
</div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
<?php endif; ?>
</div></div>
</div>
<?php get_footer(); ?>
Alles anzeigen
Hier mal die ganze Index - wenn ich das so einfüge... bringt er mir:
Prase error in Zeile 102 :cry: - da hab ich aber gar nix geändert...
Birgit