Customizer Export/Import

Descriere

Customizer Export/Import

Modulul Customizer Export/Import îți permite să exporți sau să imporți setările WordPress personalizate direct din interfața aflată în Personalizator! Dacă tema folosește personalizatorul WordPress pentru setările ei, atunci acest modul este pentru tine!

Pentru mai multe informații despre Customizer Export/Import plugin, te rog vizitează blogul nostru.

Nou! Setări pentru export

În trecut, modulul Customizer Export/Import exporta doar opțiunile savate ca „theme mods”, folosind funcția get_theme_mods, dar nu mai este cazul! Modulul Customizer Export/Import exportă acum și setările salvate ca opțiuni!

Cum funcționează

Exporting customizer settings is easy. Click the export button from within the customizer and a file will automatically begin downloading with your settings. Export files are named after your theme and can only be used to import settings for the theme or child theme that they came from. Export files contain a serialized dump of mods retrieved using the get_theme_mods function or customizer settings saved as options.

Importing customizer settings is just as easy. Choose the export file you would like to import, select whether you would like to download and import images (similar to importing posts), and finally, click the import button. Once your settings have been imported the page will refresh and your new design will be displayed.

Exportă opțiunile personalizate

Developers can also have arbitrary options that aren’t part of the customizer exported by using the cei_export_option_keys filter. Those options can be exported and imported by adding your option key to the array of options that will be exported as shown below.

function my_export_option_keys( $keys ) {
    $keys[] = 'my_option_key';
    $keys[] = 'another_option_key';
    return $keys;
}

add_filter( 'cei_export_option_keys', 'my_export_option_keys' );

Probleme cunoscute

This plugin currently only works for active themes, not themes that are being previewed with either the Theme Test Drive plugin or the new customizer theme preview.

Contribuie!

We’d love to hear your feedback as to how we could improve the Customizer Export/Import plugin, or better yet, see theme developers actively contribute! Don’t hesitate to let us know if you’re interested in contributing as we would gladly have others on board.

The Customizer Export/Import plugin is brought to you by the fine folks at Beaver Builder.

Capturi ecran

  • Secțiunea export/import din Personalizator.

Instalare

  1. Install the Customizer Export/Import plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.

  2. After activating, the export/import functionality will be available as a separate section within the WordPress customizer.

Întrebări frecvente

Please visit our blog for more info on the Customizer Export/Import plugin.

Verificări

10 aprilie 2021
Very nice and helpful plugin. It would be awesome if it could also backup widgets of sidebars in a future version. As far as I can see, in the current version (0.9.2) it can't do that. Thanks!
8 aprilie 2021
It worked perfect! I started on a new enterprise and had to create a child theme moving all the modifications they made. Install, export, import and it was done! all the customization migrated perfectly!
4 decembrie 2020
This is such a time saver and beautifully simple. If ever you realise you should have installed a child theme (or need to temporarily or otherwise change back), after spending ages customising fonts and layouts, this works perfectly every time. I have used it with various themes and with Elementor and Elementor Pro installed and it's fine. Just hit the export button, save the file, change to the child theme and hit the import button to find the file on your computer and upload the file. Hey presto! Your site looks exactly the same and you can check everything before hitting publish. Thanks guys!
3 decembrie 2020
This is a wonderfully helpful plugin. I recently switched themes on a large ecommerce site, and was able to do the job within a few hours (late at night!) thanks to this plugin. It can be deleted after use.
Citește toate cele 91 de recenzii

Contributori și dezvoltatori

„Customizer Export/Import” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Customizer Export/Import” a fost tradus în 20 de locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Customizer Export/Import” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

Version 0.1

  • Versiunea inițială.

Version 0.2

  • Added cei_export_option_keys filter for exporting custom options.

Version 0.3

  • Customizer settings saved as options are now exported and imported.

Version 0.5

  • Fixed an issue with uploads in WordPress 4.7.1.

Version 0.6

  • Trying another fix for the issue with uploads in WordPress 4.7.1.

Version 0.7

  • Added support for exporting and importing custom CSS.

Version 0.8

  • Added support for option data that has an empty value.

Version 0.9

  • Allow options with widget or sidebar in their key to be exported.

Version 0.9.1

  • Fixed issue with slashes in plugin asset urls and S3. Props Huskynarr.