Möchten Sie Ihre Widget-Einstellungen in WordPress importieren/exportieren?
Mit Widgets können Sie Ihren WordPress-Seitenleisten, Fußzeilen und anderen Widget-fähigen Bereichen ganz einfach zusätzliche Funktionen hinzufügen. Wenn Ihnen die Widget-Einstellungen auf Ihrer Website gefallen, können Sie sie speichern und auf einer anderen WordPress-Website wiederverwenden.
In diesem Tutorial zeigen wir Ihnen, wie Sie Widget-Einstellungen in WordPress einfach importieren und exportieren können. Sie können es auch als schnelle Möglichkeit nutzen, um die Widget-Einstellungen für Ihre Website zu sichern.
Wann werden Widget-Einstellungen in WordPress importiert/exportiert?
Es gibt viele Szenarien, in denen Sie die Widget-Einstellungen auf Ihrer WordPress-Website erhalten und speichern müssen.
Nehmen wir zum Beispiel an, Sie betreiben ein Multisite-WordPress-Netzwerk für Ihr Unternehmen und verwenden für alle Websites das gleiche oder ein ähnliches Theme.
Für eine schnelle Entwicklung möchten Sie vielleicht dieselben Widget-Einstellungen für alle Ihre Websites verwenden. Das Exportieren und anschließende Importieren von Widget-Einstellungen ist der schnellste Weg, um dieselben Widgets für alle Ihre Websites zu verwenden.
Ähnlich verhält es sich, wenn Sie eine WordPress-Website umziehen und die Widget-Einstellungen speichern möchten, damit sie später in Ihrem neuen Theme problemlos verwendet werden können.
Und schließlich ist diese Methode auch nützlich, wenn Sie Ihre Widget-Einstellungen als Backup speichern möchten, wenn Sie das WordPress-Theme wechseln oder verschiedene Widget-Layouts in Ihrem aktuellen Theme testen.
Sehen wir uns also an, wie man Widget-Einstellungen in WordPress einfach importieren/exportieren kann.
Wie man Widget-Einstellungen in WordPress importiert und exportiert
WordPress verfügt nicht über eine Standardfunktion zum Importieren/Exportieren von Widget-Einstellungen. Stattdessen müssen Sie das Plugin “ Widget Importer & Exporter “ installieren. Weitere Details finden Sie in unserer Schritt-für-Schritt-Anleitung für die Installation eines WordPress-Plugins.
Nach der Aktivierung müssen Sie die Seite Tools “ Widget Importer & Exporter in Ihrem WordPress-Admin-Dashboard aufrufen und auf die Schaltfläche „Widgets exportieren“ klicken.
Das Plugin erstellt dann eine Backup-Exportdatei, die Ihre Widget-Einstellungen enthält, und lädt sie als .wie -Datei auf Ihren Computer herunter.
Sie können nun wieder zu der Website wechseln, in die Sie die Widgets importieren möchten.
Auch hier müssen Sie zunächst das Plugin Widget Importer & Exporter installieren und aktivieren. Danach gehen Sie auf die Seite Tools “ Widget Importer & Exporter, um Ihre WordPress-Widgets zu importieren.
Von hier aus können Sie auf die Schaltfläche „Datei auswählen“ klicken, um die zuvor heruntergeladene .wie-Datei auszuwählen und hochzuladen.
Alternativ können Sie auch auf den Link „Kopieren und einfügen“ klicken, um den Inhalt Ihrer .wie-Sicherungsdatei manuell zu kopieren und einzufügen.
Klicken Sie anschließend einfach auf die Schaltfläche „Widgets importieren“, um fortzufahren.
Das Plugin verarbeitet dann die Daten Ihrer Sicherungsdatei und importiert Ihre WordPress-Widgets.
Wenn Sie auf beiden Websites dasselbe WordPress-Theme verwenden, werden Ihre Widgets automatisch in die richtigen Widget-Bereiche als aktive Widgets importiert.
Wenn Sie jedoch auf der Import-Site ein anderes Theme verwenden, das keine passenden Widget-Bereiche enthält, werden die Widgets als inaktive Widgets importiert.
Sie können diese Widgets dann per Drag & Drop von inaktiven Widgets in einen verfügbaren Widget-Bereich ziehen.
Das Plugin funktioniert sowohl mit blockbasierten Widgets als auch mit den älteren klassischen Widgets in WordPress.
Erfahren Sie mehr über WordPress Widgets
Möchten Sie Ihre WordPress-Widgets auf die nächste Stufe bringen? Sehen Sie sich weitere Anleitungen zur Verwendung von WordPress-Widgets an:
- Die nützlichsten WordPress-Widgets für Ihre Website
- Wie man WordPress-Widgets in Spalten anzeigt
- Wie man ein WordPress-Widget in einen Block umwandelt (Schritt für Schritt)
- Wie man mit dem visuellen Editor Widgets in WordPress erstellt
- Wie man Widgets auf bestimmten WordPress-Seiten ein- oder ausblendet
- Wie man ein benutzerdefiniertes WordPress-Widget erstellt (Schritt für Schritt)
Wir hoffen, dass dieser Artikel Ihnen geholfen hat, zu erfahren, wie Sie Widget-Einstellungen in WordPress einfach importieren/exportieren können. Vielleicht interessieren Sie sich auch für unsere Liste der wichtigsten WordPress-Plugins und unsere Tipps zur Verbesserung der WordPress-SEO für alle Ihre Websites.
Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.
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!
Raman Kumar says
the given widget has been closed and not available now.
Please update your post
WPBeginner Support says
Thank you for letting us know about the plugin, we will look to update the post when we are able
Admin
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
WPBeginner Support says
If your site is blocking the file type, you would want to follow the steps in: https://www.wpbeginner.com/wp-tutorials/how-to-add-additional-file-types-to-be-uploaded-in-wordpress/
Admin
paul says
It will only import 2 of 30 from one site to another … This tool is not effective for the claims it makes.
Sabo says
Not working for me
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?
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?
lulu says
I get the same. did you find a solution to this?
Jason says
The plugin doesn’t work for me . It doesn’t seem to identify all my widgets in my present activated theme
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
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
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
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.
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!