Anmelden oder neues Benutzerkonto anlegen.

 

Doku » Template Tags/comment time


Inhaltsverzeichnis

[bearbeiten] Beschreibung

Zeigt die Uhrzeit wann ein Kommentar gepostet wurde. Dieser Tag muss innerhalb der Schleife (The Loop) aufgerufen werden, oder in der Kommentar-Schleife.

[bearbeiten] Verwendung

<?php comment_time('format'); ?>

[bearbeiten] Beispiel

Zeigt die Kommentaruhrzeit im Format "22:04:11":

<p>Kommentar gepostet um: <?php comment_time('H:i:s'); ?></p>

[bearbeiten] Parameter

format 
(string) Formatierung der Uhrzeit. Standardeinstellung erfolgt in WordPress beim Datumsformat. Siehe auch Formatierung von Datum und Zeit.

[bearbeiten] Ähnlich

comments_number, comments_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss



Original Dokument: http://codex.wordpress.org/Template_Tags/comment_time



Zurück zum Template Tags Verzeichnis