Hallo,
ich bin ganz neu bei wordpress und habe den heutigen Tag genutzt mich etwas einzuarbeiten.
Nach ersten Installationsproblemen habe ich mir dann mein erstes Theme geschrieben.
Soweit hat das auch ganz gut geklappt.
Die inhalte sind natürlich nur testinhalte.
Hier der Link zum Blog:
http://www.theresalohmeyer.de/wordpress/?m=201005
Ich bin aber vollständig ratlos was die Beitragsfenster angeht. Konnte dazu auch in den FAQs nichts finden.
Ich möchte gerne
- dass die Beiträge über die Gesamtbreite des divs gehen
- dass das Datum unter der Überschrift angezeigt wird
- dass die Einträge optisch (z.B. durch eine Linie) voeinander getrennt werden
Und vor allem
-eine Kommentarfunktion
Ich habe folgende comment.php
ZitatAlles anzeigen<div id="kommentar_formular">
<h3 id="respond">Kommentar schreiben</h3>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<p>
<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" />
<label for="author">Name</label>
</p><p>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email">Email <small>(wird nicht veröffentlicht)</small></label>
</p><p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url">Webseite</label>
</p><p>
Kommentar
<textarea name="comment" id="comment" style="width: 100%;" rows="10" tabindex="4"></textarea>
</p><p>
<input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar abschicken" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p><?php do_action('comment_form', $post->ID); ?>
</form>
</div> <!-- kommentar_formular -->
<div id="kommentare">
<?php foreach ($comments as $comment) : ?><div class="comment" id="comment-<?php comment_ID() ?>">
<small class="commentmetadata"><?php comment_author_link() ?> <strong>|</strong> am <?php comment_date('j. F Y') ?> um <?php comment_time('H:i') ?> Uhr</small>
<?php comment_text() ?>
<?php if ($comment->comment_approved == '0') : ?>
<strong>Achtung: Dein Kommentar muss erst noch freigegeben werden.</strong><br />
<?php endif; ?></div>
<?php endforeach; /* end for each comment */ ?>
</div><!-- kommentare -->
Das wäre nun erstmal eine große Frage.
würde mich sehr freuen, wenn mir jemand helfen würde.
Danke