Skip to Content

Elemental is a WordPress Theme Framework.

More Info ›

Theme Settings Import and Export

Currently there's a lot of talk online about owning your own data , and so creating a system for backing up your theme settings is something I have been quite keen to add.

The data isn't personal, but it's something you should have control over, and I think being able to export the settings gives a nice handful of benefits:

  1. You can test the theme offline, and then take your settings to your online version
  2. You can backup your theme before making changes, allowing you to test without fear
  3. You can create a single 'template' and then upload it to multiple sites
  4. You can give people your website settings, so that they can see what you have done to make your theme work the way it does.

Usage is super simple. One button to download the settings, and one button to upload them.

Showing the Import and Export Settings screen

The downloaded (exported) data is bas64 encoded, I did want to keep it open and easy to read (a simple serialized array) - however when I serialized the info it would become corrupted and wouldn't import again. The easiest answer I could find was to base64 encode things. If anyone has any ideas of an equally simple solution then I would be happy to implement it.

Elemental Hub runs on the Elemental Framework

Elemental - WordPress Theme Framework

Elemental gives you the power to create awesome websites with WordPress. Designed by Ben Gillbanks a passionate web developer, with 11 years experience creating websites, Elemental gives you a flexible design on which you can create a successful blog. With dozens of custom page templates, top class SEO, comprehensive theme options, custom widgets, and no restrictive limitations on usage - you can create the website you want!

2 Responses to “Theme Settings Import and Export” Leave a reply ›

Leave a Reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>