Get Recent Comments – Gli ultimi commenti del blog
Postato il: 5 aprile 2009 | Nella categoria: Wordpress
Questo plugin permette di vedere gli ultimi commenti e trackbacks.
Decomprimi la cartella e caricala su /wp-content/plugins/ .
Vai su “Gestione Plugin” ed attiva.
Inserisci il codice seguente nel template o nella sidebar:
<?php if (function_exists('get_recent_comments')) { ?> <li><h2><?php _e('Recent Comments:'); ?></h2> <ul> <?php get_recent_comments(); ?> </ul> </li> <?php } ?> <?php if (function_exists('get_recent_trackbacks')) { ?> <li><h2><?php _e('Recent Trackbacks:'); ?></h2> <ul><?php get_recent_trackbacks(); ?> </ul> </li> <?php } ?> |
Infine vai su Opzioni>Recent Comments e modifica a tuo piacere.
Tags: WP Plugin..
Articoli simili:
Sono stati inviati 1 commento - Invia un commento

