Tag Template: comment_type
Descrizione
Visualizza a quale tipologia (normale, Trackback o Pingback) appartiene un commento. Questo tag va utilizzato all'interno de Il Loop o nel loop dei commenti.
Utilizzo
<?php comment_type('comment','trackback','pingback'); ?>
Esempio
<p><?php comment_type(); ?> a <?php the_title(); >: </p>
Parametri
comment
(stringa) Test che descrive un commento di tipo normale. Valore predefinito'Comment'.
trackback
(stringa) Testo che descrive un commento di tipo Trackback. Valore predefinito'Trackback'.
pingback
(stringa) Testo che descrive un commento di tipo Pingback. Valore predefinito'Pingback'.
Correlati
comments_number, comments_link, comments_rss_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, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss
|
Come passare Parametri ai Tag tramite parametri in stile PHP |
Ultima modifica il 05/03/2006 ore 08:18