Visualizzazione 0 filoni di risposte
Visualizzazione 0 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › widget spariti dopo cambio dominio
ciao a tutti,
ho spostato il mio wordpress da un dominio all’altro, seguendo la procedura descritta qui:
http://www.wpitaly.it/wiki/Main/CambiareServer
(purtroppo, dato che avevo già salvato il database, non avevo disattivato i plugin e nè scelto il tema standard, come suggerisce la guida)
Ora però sono scomparsi tutti i widget personalizzati (ovvero sono rimasti solo quelli standard: commenti recenti, articoli recenti, categorie ecc).
Inizialmente (ora non più), nella pagina stessa del blog, ricevevo anche un messaggio di errore riguardo a queste due linee del file widgets.php:
linea 1349:
foreach ( array_keys($options) as $o ) {
// Old widgets can have null values for some reason
if ( !isset($options[$o]) || !isset($options[$o]) || !isset($options[$o]) )
continue;
$id = “rss-$o”; // Never never never translate an id
wp_register_sidebar_widget($id, $name, ‘wp_widget_rss’, $widget_ops, array( ‘number’ => $o ));
wp_register_widget_control($id, $name, ‘wp_widget_rss_control’, $control_ops, array( ‘number’ => $o ));
linea 686:
foreach ( array_keys($options) as $o ) {
// Old widgets can have null values for some reason
if ( !isset($options[$o]) || !isset($options[$o]) )
continue;
$id = “text-$o”; // Never never never translate an id
wp_register_sidebar_widget($id, $name, ‘wp_widget_text’, $widget_ops, array( ‘number’ => $o ));
wp_register_widget_control($id, $name, ‘wp_widget_text_control’, $control_ops, array( ‘number’ => $o ));
ciao grazie!
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0