Thx
such mal in der index.php, single.php, archive.php und page.php nach
<div class="meta">Inhalt</div>
das dann nach oben setzen
beginnen müsste der Postbereich mit
<div id="post-<?php the_ID(); ?>" class="post">
Oh Ich danke dir, endlich mal wer der mir mal hilft, habe schon so oft was hier geschrieben und nie hat wer geholfen !!!:-P
Aber eins bekomme ich nicht hin, finde den Fehler nicht....Das Datum ist jetzt fast überall Oben, außer da wo die Categorien sind: Bei News, iOS iPhone 4 etc.
Da steht "Archive for the "news" category
In der Archive.php habe ich mir angesehen...aber da blick ich nicht durch(s.Unten)
Nebenbei habe ich gesehen, das es eine Page Navi gibt, heißt das, dass ich die Beiträge auch Blättern kann ansttatt endlos untereinander weg? Den Fehler habe ich auch noch nicht ausbessern können!
--------------------------------------------------------------------------
<?php get_header() ?>
<div id="content">
<?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="pagetitle">Archive for the “<?php single_cat_title(); ?>” Category</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2 class="pagetitle">Posts Tagged “<?php single_tag_title(); ?>”</h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2 class="pagetitle">Author Archive</h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="pagetitle">Blog Archives</h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post">
<h3 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<?php $thumbnail = (get_post_meta($post->ID, 'thumbnail', $single = true)) ? '<img class="thumbnail" src="'.get_post_meta($post->ID, 'thumbnail', $single = true).'" width="85" height="85" alt="'.get_the_title($post->ID).'" />' : ''; ?>
<?php echo $thumbnail ?>
<div class="entry<?php if (!$thumbnail): ?> no-image<?php endif ?>">
<?php the_content(''); ?>
</div>
<div class="meta">
<span class="date-post"><?php the_time('F j, Y') ?></span>
<span class="categories-post">Posted Under <?php the_category(', ') ?></span>
</div>
</div>
<?php endwhile; ?>
<?php if(function_exists('wp_pagenavi')) : ?>
<?php wp_pagenavi('<div id="wp-pagenavi-wrapper">', '<div id="wp-pagenavi-left"></div><div id="wp-pagenavi-right"></div></div><!-- /wp-pagenavi-wrapper -->') ?>
<?php else: ?>
<div class="navigation clearfix">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php endif ?>
<?php else: ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif ?>
<?php get_sidebar(); get_footer() ?>
---------------------------------------------------------------------------