Hi ich habe folgende index.php auf die darauffolgende geädert da ich
Ore= time pagina (next page/previous page)etc - auf english haben wollte..
aber jetzt krieg ich beim posten immer dieselb zeit angezeigt!!
PHP
<?php
get_header();
?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry <?php if(is_home() && $post==$posts[0] && !is_paged()) echo ' firstpost';?>">
<div class="date">
<p><span class="month">
<?php the_time('M') ?>
</span><span class="day">
<?php the_time('j') ?>
</span></p>
</div>
<h3 class="etitle" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a> </h3>
<div class="emeta">
<?php echo " Ore: ";
the_time('H:m');
echo " - Tags: ";the_category(',');?>
</div>
<div class="ebody">
<?php the_content(__('Read more'));?> <a href="<?php comments_link(); ?>"><strong>Comments:</strong>
<?php comments_number('none','1','%'); ?>
</a>
<?php
edit_post_link(__('- <strong>Edit</strong>'));?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<p class="navig">
<?php posts_nav_link(' — ', __('« Pagina Precedente'), __('Prossima pagina »')); ?>
</p>
</div>
<?php get_sidebar(); ?>
<!-- The main column ends -->
<?php get_footer(); ?>
Alles anzeigen
und hier meine geänderte!
PHP
<?php
get_header();
?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry <?php if(is_home() && $post==$posts[0] && !is_paged()) echo ' firstpost';?>">
<div class="date">
<p><span class="month">
<?php the_time('M') ?>
</span><span class="day">
<?php the_time('j') ?>
</span></p>
</div>
<h3 class="etitle" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a> </h3>
<div class="emeta">
<?php echo " Time: ";
the_time('H:m');
echo " - Tags: ";the_category(',');?>
</div>
<div class="ebody">
<?php the_content(__('Read more'));?> <a href="<?php comments_link(); ?>"><strong>Comments:</strong>
<?php comments_number('none','1','%'); ?>
</a>
<?php
edit_post_link(__('- <strong>Edit</strong>'));?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<p class="navig">
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
</p>
</div>
<?php get_sidebar(); ?>
<!-- The main column ends -->
<?php get_footer(); ?>
Alles anzeigen
was habe ich bloss falsch gemacht? im dashboard stehen die zeiten nämlich richtig drinne..und wenn ich den code so anschaue dann passts eigentlich..bzw habe versucht die urprüngliche version wieder upzuloaden aber dann geht gar nix mehr :(
danke fuer hilfe :D