hab das Problem auch, aber...
Hallo zusammen,
ich habe seit kurzem genau das gleiche Problem bei dem Blog den ich betreue.
Meine index.php sieht so aus:
<?php include(TEMPLATEPATH."/config.inc.php");?>
<?php get_header(); ?>
<div class="abstand">
<!--include sidebar-->
<?php include(TEMPLATEPATH."/l_sidebar.php");?>
<div id="content">
<?
/* Standalone Artikel BEGIN */
global $wpdb;
$pages = $wpdb->get_results ("SELECT " .
"post_content, post_title " .
"FROM $wpdb->posts " .
"WHERE ID = 62");
foreach ($pages as $page)
{
?>
<div class="post-start">
<h3><?=$page->post_title?></h3>
<?
echo $page->post_content;
?>
</div>
<?
}
/* Standalone Artikel END */ ?>
<?php $q = "cat=-" . $np_feature_cat . ",-" . $np_sidenotes_cat . "&showposts=4"; query_posts($q); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
<? if (in_category('11')) { ?>
<div class="post clearboth">
<!--post title as a link-->
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Link zum Artikel <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<!--post text with the read more link ... sorta-->
<?php the_content('', 'FALSE', ''); ?>
<?php if(strstr($post->post_content,'<!--more')) { //if the story has the more tag... ?>
<div class="post-more"><a href="<?php the_permalink(); ?>"><img src="http://www.leserservice-partner.de/wp-content/themes/newspixel/images/info_button.gif"/></a></div>
<?php } ?>
<!--post meta info-->
<hr></hr>
<div class="meta-top">
<span class="meta-date">Veröffenttlicht am <?php the_time('l, j. F Y') ?> | <?php comments_popup_link(__('Keine Kommentare »', 'kubrick'), __('1 Kommentar »', 'kubrick'), __('% Kommentare »', 'kubrick')); ?></span>
</div>
</div><!--End post-->
<?} ?>
<?php endwhile; // end of one post ?>
<!-- Previous/Next page navigation
<div class="page-nav">
<div class="nav-previous"><?php previous_posts_link('« Vorherige Seite') ?></div>
<div class="nav-next"><?php next_posts_link('Nächste Seite »') ?></div>
<?php if(function_exists('wp_pagenavi')){wp_pagenavi();}?>
</div> -->
<?php else : // do not delete ?>
<h3>Seite wurde nicht gefunden </h3>
<p>Es tut uns leid Ihnen mitteilen zu müssen, das die von Ihnen gesuchte Seite nicht existiert.</p>
<p>Versuchen Sie die gewünschte Seite mit Hilfe der Navigation zu finden. </p>
<?php endif; // do not delete ?>
<!--index.php end-->
</div>
<!--include r_sidebar-->
<?php include(TEMPLATEPATH."/r_sidebar.php"); ?>
<!--include footer-->
<?php get_footer(); ?>
Alles anzeigen
Das mit dem excerpt ist da nicht drin und auch sonst, weiß ich nicht, wonach ich da nun suchen muss.
Vielleicht weiß hier jemand Rat. Bis jetzt ist es so gelöst, dass aktuelle Artikel per Einstellung auf der Startseite gehalten werden. Aber das ist nicht Sinn der Sache.
Danke!
Steffi
P.S.: Bei mir verschwindet der komplette Artikel, nicht nur die Headline.
Theme: Newspixel