Hi,
im Online Them Editor finde ich in der the-excerpt-reloaded.php diese Zeilen nicht.
Aber in der index.php zwei mal:
<?php get_header(); ?>
<div id="entry">
<div class="recent">
<?php $my_query = new WP_Query('showposts=1');
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<div class="post new" id="post-<?php the_ID(); ?>">
<div class="info">
<div class="latest">
<h3 class="title">Letzter Artikel</h3>
<div class="date">Veröffentlicht am <?php the_time('j. F Y'); ?></div>
</div><!--latest-->
<div class="comcount">
<?php comments_popup_link('0 Kommentare', '1 Kommentar', '% Kommentare'); ?>
</div><!--comcount-->
<br clear="all" />
</div><!--info-->
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="content"><?php the_excerpt_reloaded(120, '<a><img><object><strong><em><i><b><h1><h2><h3><h4><h5><h6>', 'excerpt', TRUE, FALSE, FALSE, 1, TRUE); ?></div>
<div class="[COLOR=Red]readmore1[/COLOR]"><a href="<?php the_permalink() ?>" rel="bookmark" title="Weiterlesen"><div class="readmore"><!-- --></div></a></div>
<div class="meta">
<div class="tags"><?php the_tags('', ', ', '<br />'); ?></div>
<div class="cats"><?php the_category(', ') ?></div>
</div><!--meta-->
</div><!--post-->
<?php endwhile; ?>
</div><!--recent-->
<div class="recentbottom"><!-- --></div>
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<div class="post recent" id="post-<?php the_ID(); ?>">
<div class="info2">
<div class="latest">
<div class="date">Veröffentlicht am <?php the_time('j. F Y'); ?></div>
</div><!--latest-->
<div class="comcount">
<?php comments_popup_link('0 Kommentare', '1 Kommentar', '% Kommentare'); ?>
</div><!--comcount-->
<br clear="all" />
</div><!--info-->
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="content"><?php the_excerpt_reloaded(90, '<a><img><object><strong><em><i><b><h1><h2><h3><h4><h5><h6>', 'excerpt', TRUE, FALSE, FALSE, 1, TRUE); ?></div>
<div class="[COLOR=Red]readmore1[/COLOR]"><a href="<?php the_permalink() ?>" rel="bookmark" title="Weiterlesen"><div class="readmore"><!-- --></div></a></div>
<div class="meta">
<div class="tags"><?php the_tags('', ', ', '<br />'); ?></div>
<div class="cats"><?php the_category(', ') ?></div>
</div><!--meta-->
</div><!--post-->
<div class="recentbottom"><!-- --></div>
<?php endwhile; ?>
<div class="alignleft"><?php next_posts_link('Ältere Artikel') ?></div>
<div class="alignright"><?php previous_posts_link('Neuere Artikel') ?></div>
<br clear="all" />
<?php else : ?>
<?php endif; ?>
</div><!--entry-->
<?php include (TEMPLATEPATH . '/sidebar.php'); ?>
<?php get_footer(); ?>
Alles anzeigen
...und in der search.php ein mal:
<?php get_header(); ?>
<div id="entry">
<?php if (have_posts()) : ?>
<h2 class="archive">Suchergebnisse für "<?php echo $_GET['s']; ?>"!</h2>
<?php while (have_posts()) : the_post(); ?>
<div class="post recent" id="post-<?php the_ID(); ?>">
<div class="info2">
<div class="latest">
<div class="date">Veröffentlicht von <span style="text-transform:uppercase;"><?php the_author_posts_link(); ?></span> am <?php the_time('j. F Y'); ?></div>
</div><!--latest-->
<br clear="all" />
</div><!--info2-->
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="content"><?php the_excerpt_reloaded(90, '<a><img><object><strong><em><i><b><h1><h2><h3><h4><h5><h6>', 'excerpt', TRUE, FALSE, FALSE, 1, TRUE); ?></div>
<div class="[COLOR=Red]readmore1[/COLOR]"><a href="<?php the_permalink() ?>" rel="bookmark" title="Weiterlesen"><div class="readmore"><!-- --></div></a></div>
<div class="meta">
<div class="tags"><?php the_tags('', ', ', '<br />'); ?></div>
<div class="cats"><?php the_category(', ') ?></div>
</div><!--meta-->
</div><!--post-->
<div class="recentbottom"><!-- --></div>
<?php endwhile; ?>
<div class="alignleft"><?php next_posts_link('Ältere Artikel') ?></div>
<div class="alignright"><?php previous_posts_link('Neuere Artikel') ?></div>
<br clear="all" />
<?php else : ?>
<div class="noresults">"<?php echo $_GET['s']; ?>" wurde nirgends gefunden!</div>
<?php endif; ?>
</div><!--entry-->
<?php include (TEMPLATEPATH . '/sidebar.php'); ?>
<?php get_footer(); ?>
Alles anzeigen
In der archive.php einmal:
<?php get_header(); ?>
<div id="entry">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="archive">Artikel in der Kategorie ‘<?php single_cat_title(); ?>’</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2 class="archive">Artikel mit den Schlagwort ‘<?php single_tag_title(); ?>’</h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="archive">Artikel vom <?php the_time('j. F Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="archive">Artikel vom <?php the_time('F Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="archive">Artikel des Jahres <?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2 class="archive">Autorenarchiv</h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="archive">Blogarchiv</h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post recent" id="post-<?php the_ID(); ?>">
<div class="info2">
<div class="latest">
<div class="date">Veröffentlicht von <span style="text-transform:uppercase;"><?php the_author_posts_link(); ?></span> am <?php the_time('j. F Y'); ?></div>
</div><!--latest-->
<br clear="all" />
</div><!--info2-->
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink zu <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="content"><?php the_excerpt_reloaded(90, '<a><img><object><strong><em><i><b><h1><h2><h3><h4><h5><h6>', 'excerpt', TRUE, FALSE, FALSE, 1, TRUE); ?></div>
<div class="[COLOR=Red]readmore1[/COLOR]"><a href="<?php the_permalink() ?>" rel="bookmark" title="Weiterlesen"><div class="readmore"><!-- --></div></a></div>
<div class="meta">
<div class="tags"><?php the_tags('', ', ', '<br />'); ?></div>
<div class="cats"><?php the_category(', ') ?></div>
</div><!--meta-->
</div><!--post-->
<div class="recentbottom"><!-- --></div>
<?php endwhile; ?>
<div class="alignleft"><?php next_posts_link('Ältere Artikel') ?></div>
<div class="alignright"><?php previous_posts_link('Neuere Artikel') ?></div>
<br clear="all" />
<?php else : ?>
<?php endif; ?>
</div><!--entry-->
<?php include (TEMPLATEPATH . '/sidebar.php'); ?>
<?php get_footer(); ?>
Alles anzeigen
Welche soll ich jetzt löschen?
DANKE^^