Home › Forum › Plugin e temi di WP › Errore con wp_pagenavi
-
AutorePost
-
-
28 Aprile 2012 alle 7:55 #21510Riflessioni UrbanePartecipante
Buongiorno a tutti
ho un sito su host Aruba, con l’ultima versione di WordPress.
Ieri ho caricato template da questo sito
http://3oneseven.com/12/typography-wordpress-theme-2/
solo che nell’installarlo praticamente non riesco più ad entrare nel sito http://www.riflessioniurbane.it , neanche con wp-admin.
L’errore è il seguente, come potere riscontare voi stessi
Fatal error: Cannot redeclare wp_pagenavi() (previously declared in /web/htdocs/www.riflessioniurbane.it/home/wp-content/plugins/wp-pagenavi/core.php:12) in /web/htdocs/www.riflessioniurbane.it/home/wp-content/themes/typo/functions.php on line 105
Ho capito, leggendo qua e la, che è un problema legato al plugin navi e lo devo disattivare (o almeno credo sia cosଅ), ma se vado su FTP e su wp-content/plugins/wp-pagenavi comunque io questo plugin non lo trovo.
Che devo fare secondo voi?
Grazie
Salvatore
-
28 Aprile 2012 alle 8:34 #95199wordpress-specPartecipante
nel file functions.php del tema viene dichiarata la funzione wp_pagenavi e probabilmente questa funzione è già presente da qualche altra parte, casomai, nel dubbio vai nel file function.php del tema e commenta tutta la funzione cosଠrisolvi il problema, e vedi anche se la paginazione funziona, se non dovesse funzionare allora installa il plugin wp_pagenavi che trovi su wordpress.prg
-
28 Aprile 2012 alle 8:42 #95201Riflessioni UrbanePartecipante
“commenta” significa che devo postare qui il file function.php?
-
28 Aprile 2012 alle 9:49 #95203San PietroburgoPartecipante
Commenta significa mettere avanti al codice un paio di segni // per disattivarlo. Comunque non è detto che funzionerà ; per me fai prima a sostituirlo con un altro fatto meglio.
Per ritornare a quello di default di WordPress avremmo descritto la procedura migliaia di volte.. Da FTP aggiungi al tema attuale un segno _ oppure OLD, alla fine del nome della sua directory, cosଠWP torna al suo tema.
@edit
Dopo aver da FTP fatto quanto detto cancella la cache del browser e ritorna sul Sito web.
-
28 Aprile 2012 alle 16:09 #95210Riflessioni UrbanePartecipante
Grazie San Pietroburgo
ho risolto con il tuo consiglio.
Perdonate se ho postato su un argomento già ampiamente trattato; conosco le regole dei forum, e quindi mi rendo conto cosa significhi stare a rispondere su cose già dette e stradette.
Grazie di nuovo
Salvatore
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.