Email: info@wpitaly.it
Ovviamente il codice agirà su tutti i tag pre.
Se vuoi che lasci intatte le vecchie pagine, assegna una classe ai nuovi tag e modifica il codice css che hai trovato scrivendo “.nome-classe” al posto di “pre”.
Ad esempio, se usi <pre class="custom-pre">...
nel tuo css avrai
.custom-pre { ... }
Hai provato ad aggiungere alla tua funzione l’istruzione
global $wpdb;
?
Come hai fatto il restore? Usando l’opzione “Importa” di phpmyadmin? Prova ad eseguire il codice che hai nel file di backup (che hai esportato, mi pare di aver capito) come query e non ad importarlo.
Ma prima, vai sulla riga #1064 e vedi di cosa si tratta, al limite posta qui la riga intera che ci diamo un’occhiata.
Non è questione di editor, ma di conoscenza del php.
Quel codice html è generato, come ti è stato già detto, da funzioni scritte in php. E’ su quelle che devi lavorare e fare in modo che modifichino l’output (appunto il codice html) come meglio preferisci.
Dreamweaver è ottimo, a patto che si usi la modalità codice.
PS: in particolare, che modifiche vorresti apportare?
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0