Hallo!
Ich hab auf meiner Seite keine direkte Artikelseite...
Man kann bei mir nur einzelne Kategorien aufrufen um dort dann die jeweiligen Artikel zu lesen....
Jetzt ist es aber so, das bei allen Kategorien, wenn ich sie aufrufe, oben drüber steht. "Archive for the Category "Kategoriename". Das stört mich sehr. Ist für mich ja nicht als ein Archiv gemeint.
Ich find es leider gerade gar nicht, wo ich das löschen muss... Will es ja nicht für jede Kategorie einzelnd löschen, sondern allgemein, dass das nicht mehr angezeigt wird.
http://hungerland.bplaced.net/?cat=9
Hier kann man das sehen, was ich meine...
Ich benutze das Theme Mountain Landscape 1.00 von Themespreview.com...
So wie ich das sehe muss ich in der index.php was löschen, damit der Archivdingens verschwindet...
Ich hab nur leider keine Ahnung, was genau ich löschen muss und vor allem wie viel....
Hier mal der Code:
<?php get_header(); ?>
<div id="content">
<?php if ( is_home() ) { ?>
<div class="spacer"></div>
<?php }
if (have_posts()) :
$post = $posts[0]; // Hack. Set $post so that the_date() works.
if (is_category()) { /* If this is a category archive */ ?>
<h1 class="archivetitle">Archive for the Category » <?php echo single_cat_title(); ?> «</h1>
<?php } elseif (is_day()) { /* If this is a daily archive */ ?>
<h1 class="archivetitle">Archive for <?php the_time('F jS, Y'); ?></h1>
<?php } elseif (is_month()) { /* If this is a monthly archive */ ?>
<h1 class="archivetitle">Archive for » <?php the_time('F, Y'); ?> «</h1>
<?php } elseif (is_year()) { /* If this is a yearly archive */ ?>
<h1 class="archivetitle">Archive for » <?php the_time('Y'); ?> «</h1>
<?php } elseif (is_search()) { /* If this is a search */ ?>
<h1 class="archivetitle">Search Results</h1>
<?php } elseif (is_author()) { /* If this is an author archive */ ?>
<h1 class="archivetitle">Author Archive</h1>
<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { /* If this is a paged archive */ ?>
<h1 class="archivetitle">Blog Archives</h1>
<?php } elseif (is_tag()) { /* If this is a tag archive */ ?>
<h1 class="archivetitle">Tag-Archive for » <?php single_tag_title(); ?> « </h1>
<?php }
while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post">
<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></div>
<div class="date">
<?php the_time('F dS, Y') ?> | Author: <?php the_author_posts_link('nickname'); ?>
<?php edit_post_link(' » Edit «','|',''); ?>
</div>
<div class="entry">
<?php if (is_search()){
the_excerpt();
}else{
the_content('more...');
}
?>
</div>
<div class="clear"></div>
<div class="info">
<span class="category">Category: <?php the_category(', ') ?></span>
<?php the_tags(' | <span class="tags">Tags: ', ', ', '</span>'); ?>
| <span class="bubble"><?php comments_popup_link('Leave a Comment','One Comment', '% Comments', '','Comments off'); ?></span>
</div>
<div class="info_bot"></div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h1>Not found</h1>
<p class="sorry">"Sorry, but you are looking for something that isn't here. Try something else.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer();?>
Alles anzeigen
Könnte mir bitte jemand helfen und sagen, was genau ich wie und wo löschen muss?
LG Hungerland