also als erstes die gute nachricht: I.M. geht alles wieder!:-D
hatte erst alles bis auf 2 seiten gelöscht und dann versucht es zu richten - ging nicht. dann habe ich festgestellt, (nach dem löschen und wieder-hochladen meiner ganzen seiten phps), dass das irgendwie mit denen zu tun hat. weil: ohne gut - mit schlecht....
hab jetzt kurzer hand andere phps (von meiner eigenen seite) benutzt und jetzt klappts....muss jetzt nur noch paar sachen (kommentare, autor usw.) entfernen. hoffe, dass ich mir dabei nicht wieder was verhaue....!!
der code oben war aus einer meiner " schlechten"seiten phps.
hier ist der komplette code aus einer neuen - hoffe er ist ok:
PHP
<?php get_header(); ?>
<div id="content2">
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?>
<div class="entry entry-<?php echo $postCount ;?>">
<div class="entrytitle">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','ambiru'), get_the_title()) ?>"><?php the_title(); ?></a></h2>
</div>
<div class="entrybody">
<?php the_content(__('Read the rest of this entry','ambiru').' »'); ?>
</div>
<div class="entrymeta"><?php _e('Filed in','ambiru'); ?> <?php the_category(', ') ?> | <?php edit_post_link(__('Edit','ambiru'), '', ' | '); ?> <?php comments_popup_link(__('No Comments','ambiru').' »', __('1 Comment','ambiru').' »', __('% Comments','ambiru').' »'); ?></p>
</div>
</div>
<div class="commentsblock">
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« '.__('Previous Entries','ambiru')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries','ambiru').' »') ?></div>
</div>
<?php else : ?>
<h2>Not Found</h2>
<div class="entrybody"><?php _e('Sorry, but you are looking for something that isn\'t here.','ambiru'); ?></div>
<?php endif; ?>
</div>
<?php get_footer(); ?>
</body>
</html>
Alles anzeigen
erstmal vielen an euch - ich bekam echt die krise....!