Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come importare/esportare le impostazioni dei widget in WordPress

Nota editoriale: guadagniamo una commissione dai link dei partner su WPBeginner. Le commissioni non influenzano le opinioni o le valutazioni dei nostri redattori. Per saperne di più su Processo editoriale.

Volete importare/esportare le impostazioni dei widget in WordPress?

I widget consentono di aggiungere facilmente caratteristiche aggiuntive alle barre laterali, ai footer e ad altre aree di WordPress. Se vi piacciono le impostazioni dei widget sul vostro sito web, potete salvarle e riutilizzarle su un altro sito WordPress.

In questa guida vi mostreremo come importare ed esportare facilmente le impostazioni dei widget in WordPress. Potete anche utilizzarlo come metodo rapido per eseguire il backup delle impostazioni dei widget per il vostro sito web.

Importing and exporting WordPress widget settings

Quando importare/esportare le impostazioni dei widget in WordPress

Ci sono molti scenari in cui potrebbe essere necessario conservare e salvare le impostazioni dei widget sul vostro sito web WordPress.

Per esempio, supponiamo di gestire un network WordPress multisito per la vostra attività, utilizzando lo stesso tema o un tema simile per tutti i siti.

Per uno sviluppo rapido, è possibile utilizzare le stesse impostazioni dei widget in tutti i siti web. Esportare e poi importare le impostazioni dei widget è il modo più rapido per utilizzare gli stessi widget per tutti i siti.

Allo stesso modo, supponiamo che stiate spostando un sito WordPress e vogliate salvare le impostazioni dei widget in modo da poterli utilizzare facilmente in seguito nel nuovo tema.

Infine, questo metodo è utile anche per salvare le impostazioni dei widget come backup quando si cambia tema WordPress o si testano layout diversi nel tema attuale.

Detto questo, vediamo come importare/esportare facilmente le impostazioni dei widget in WordPress.

Come importare ed esportare le impostazioni dei widget in WordPress

WordPress non dispone di una funzione predefinita per importare/esportare le impostazioni dei widget. È invece necessario installare il plugin Widget Importer & Exporter. Per maggiori dettagli, consultate la nostra guida passo-passo su come installare un plugin di WordPress.

Dopo l’attivazione, è necessario visitare la pagina Strumenti ” Widget Importer & Exporter nella dashboard di amministrazione di WordPress e fare clic sul pulsante “Esporta widget”.

Export widget settings

Il plugin preparerà quindi un file di esportazione di backup contenente le impostazioni del widget, che verrà scaricato come file .wie sul computer.

Ora è possibile tornare al sito web in cui si desidera importare i widget.

Anche in questo caso, è necessario prima installare e attivare il plugin Widget Importer & Exporter. Dopodiché, andate alla pagina Strumenti ” Widget Importer & Exporter per importare i widget di WordPress.

Import widget settings

Da qui, fate clic sul pulsante “Scegli file” per selezionare e caricare il file .wie scaricato in precedenza.

In alternativa, puoi fare clic sul collega “copia e incolla” per copiare e incollare manualmente il contenuto del file di backup .wie.

Manually import widget settings

Una volta fatto, è sufficiente fare clic sul pulsante “Importa widget” per continuare.

Il plugin elaborerà quindi i dati del file di backup e importerà i widget di WordPress.

Widgets imported

Se si utilizza lo stesso tema WordPress su entrambi i siti web, i widget verranno automaticamente importati nelle aree corrette come widget attivi.

Tuttavia, se sul sito di importazione si utilizza un tema diverso che non ha aree di widget in corrispondenza, i widget verranno importati come widget inattivi.

Imported inactive widgets

È quindi possibile trascinare e rilasciare questi widget da quelli inattivi a un’area widget disponibile.

Il plugin funziona sia con i widget basati su blocchi che con i vecchi widget classici di WordPress.

Inactive widgets

Approfondisci i widget di WordPress

Volete portare i widget di WordPress al livello successivo? Selezionate altre guide su come utilizzare i widget di WordPress:

Speriamo che questo articolo vi abbia aiutato a capire come importare/esportare facilmente le impostazioni dei widget in WordPress. Potreste anche voler consultare il nostro elenco di plugin essenziali per WordPress e i nostri consigli su come migliorare la SEO di WordPress per tutti i vostri siti web.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

18 commentiLascia una risposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

    • WPBeginner Support says

      Thank you for letting us know about the plugin, we will look to update the post when we are able :)

      Admin

  2. Jacques Matike says

    Hello,
    Using plugin version 1.3.5.2 and the import functionnality doesn’t work!
    It says that for security reasons, the file type is not authorize

  3. paul says

    It will only import 2 of 30 from one site to another … This tool is not effective for the claims it makes.

  4. Claude Corry says

    Hi all I have done this procedure but its on the same website. My widgets seemed to deactivate after I changed to another WP theme 2017 the newest one but in the customise interface for the new theme the widgets are still greyed out like they are inactive still. This is after I have used the Import/Export plugin. Can you use the plugin this way on the same site?

  5. Rebecca says

    When I try to import, I get a notice saying
    Sorry, this file type is not permitted for security reasons.
    How do I get around this?

  6. Jason says

    The plugin doesn’t work for me . It doesn’t seem to identify all my widgets in my present activated theme

  7. Mahfooz says

    i took backup of my site yesterday every thing is ok but widget content is disappeared so my question is how can i get content with out copy and paste procedure in WordPress

  8. Amir Arif says

    Export Woocommer Product only with image?
    need very urgent help here, i want to know that how to export only woocomerce product only with their images?

    please reply, Thanks

  9. Mohit says

    Is there some plugin using which I can also replicate the plugins, i.e. at the click of a button, export all plugins and if possible their settings as well, and then import the same on another wordpress site?

    • WPBeginner Support says

      We doubt that, because there are thousands of WordPress plugins and many of them use different techniques to store their settings. It would be difficult to program a plugin that could guess the settings for all plugins.

      Admin

  10. Richard says

    Great article, I’ve been wanting something similar but for plug-ins. Any suggestions?

    I have about 20 plug-ins and all of their associated settings, like amember, and I really don’t want to start from scratch

    • Hardeep Asrani says

      Nope, you can’t!

      Each plugin have your own type of configurations and only with a export and import of a mysql database can pass your settings from one site to another.

      WordPress saves all widget settings only in one table, so it’s more easy to download widget settings.

  11. Liz says

    Oh no! I wish this post had dropped in my email alerts yesterday! I just migrated a site live from the test url and lost ALL my widget setting and all my plugins- genesis ones with content were lost completely. Thankfully, it was a smallish site, and I’ve managed in a morning to re-do all the settings and craft any custom widget content again. But I’ve bookmarked this to make sure it doesn’t happen again as I’ve more complex sites to do soon.

    Thanks for this! I live and learn!

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.