Home › Forum › Plugin e temi di WP › Link a commenti nella barra laterale
-
AutorePost
-
-
11 Novembre 2006 alle 7:56 #2523marcotaddiaPartecipante
Premetto che non ho mai programmato in php ma conosco svariati altri linguaggi di programmazione visto che programmo per passione da 15 anni.
La mia domanda è semplice ed è l’ultimo scoglio prima di mettere on-line il mio sito.
Vorrei mettere dei semplici richiami ai commenti più recenti (10 max) nella barra laterale.
Per intenderci in stile splinder (esempio) formattati in questo modo:
nome di chi posta con eventuale link alla sua pagina pagina (magari con target blank) e link diretto al commento in modo da farlo aprire nel main principale assiema al post e agli altri commenti.
Potete aiutarmi ?
Grazie tante.
-
11 Novembre 2006 alle 9:38 #41366FreeplePartecipante
Eccolo:
http://blog.jodies.de/archiv/2004/11/13/recent-comments/
Spero ti vada bene, fammi sapere.
Ciao!
-
11 Novembre 2006 alle 10:54 #41377marcotaddiaPartecipante
Grazie tante, però dopo averlo installato mi da questo errore entrando nelle opzioni per modificarne il settaggio.
Fatal error: Cannot redeclare kjgrc_subpage_gravatar() (previously declared in wp-contentpluginsget-recent-comments.php:23) in wp-contentpluginsget-recent-comments.php on line 63
Solo che non capisco come mai, il codice mi sembra giusto.
Ho pure provato ad installare gravatars2 a vedere se era quello, ma nulla è cambiato.
Che potrebbe essere ?
Ancora grazie.
-
11 Novembre 2006 alle 18:48 #41390marcotaddiaPartecipante
Nessuno riesce a spiegarmi il problema ?
Io non riesco a saltarci fuori.
Grazie
-
12 Novembre 2006 alle 9:44 #41392FreeplePartecipante
Ciao Marcotaddia!
Mi spiace quasi darti la notizi, ma ho installato il Plug-In in 5 minuti.
Lo puoi vedere qui:
http://www.norisberghen.it/it/index.php
Dal mio sito puoi rilevare la mia email, se vuoi, mandami il tema gli do un’occhiata.
Nel Tema, in Sidebar, dovresti aver insero queste funzioni in assenza del Pug-In Gravatar:
<?php if (function_exists('get_recent_comments')) { ?>
<h2>Commenti recenti</h2>
<?php get_recent_comments(); ?>
<?php } ?>
<?php if (function_exists('get_recent_trackbacks')) { ?>
<h2>Trackbacks recenti</h2>
<?php get_recent_trackbacks(); ?>
<?php } ?>
Fammi sapere, ciao!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.