Zitat
dass anstatt einer "0" das aktuelle Datum steht
echt das aktuelle datum? oder das datum vom jeweiligen artikel?
das folgende bezieht sich auf das artikel-datum:
dashboard - design - editor:
bearbeite archive.php
finde diesen abschnitt:
<div class="post clearfix" id="post-<?php the_ID(); ?>">
<div class="comm"><?php comments_popup_link('0', '1', '%'); ?></div>
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="postmeta">
<span class="author">Posted by <?php the_author_link(); ?> </span> - <span class="clock"> <?php the_time('M - j - Y'); ?></span>
</div>
nimm das hier:
[FONT=courier new][COLOR=#0000ff]comments_popup_link('0', '1', '%');[/COLOR][/FONT]
und tausche es mit:
[FONT=courier new][COLOR=#0000ff]the_time('M - j - Y');
[/COLOR][/FONT]
der abschnitt sollte dann so aussehen:
<div class="post clearfix" id="post-<?php the_ID(); ?>">
<div class="comm"><?php the_time('M - j - Y'); ?></div>
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="postmeta">
<span class="author">Posted by <?php the_author_link(); ?> </span> - <span class="clock"> <?php comments_popup_link('0', '1', '%'); ?></span>
</div>
dann bearbeite style.css (etwa in der mitte)
.comm {
float:left;
font-family: 'AllerRegular', Arial,Tahoma,Century gothic,sans-serif;
font-size:24px;
margin:0px 10px 25px 25px;
height:50px;
width:50px;
line-height:50px;
text-align:center;
background:#D71A21;
color:#fff;
display:inline;
}
Alles anzeigen
und veraendere den wert hier so dass das datum reinpasst (versuchs mit etwa 200px):
[FONT=courier new][COLOR=#0000ff]width:50px;
[/COLOR][/FONT]
nb: die null ist die nummer der kommentare und verlinkt auf die kommentarform.
alles ungetestet.
mach vorher eine sicherungskopie, falls dir das ergebnis nicht gefaellt, oder falls was kaputt geht.