IndustrialThemes
IndustrialThemes Recent Posts Threads Started
153 posts
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
IndustrialThemes says

Mod: please change this title to “How are authors doing 1-click demo install?”

I’m wondering about this cool “1-click demo install” I keep seeing on the newer themes. I provide a .xml and .sql file for each of my themes, but it would be even better if I could provide a very simple one-click install of the demo content that imports not only the content from the demo but all of the settings, menus, and other peripheral data that wordpress cannot export in a .xml file.

Just curious if you’re one of the authors offering this how you generally go about doing this? Did you build a custom script that handles this, are you using a plugin, or is it just the .xml demo content (or a mix all all three)?

Thanks! Brian

443 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+3 more
UXbarn says

I know the thread is quite old but I’m just wondering the same thing. Do you guys have any advice on how to implement “1-click installation”?

Thanks!

1581 posts How's the surf doing?
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
tommusrhodus says

+1 :)

115 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+5 more
Webthemer says

I use custom install.php script you simply just install it like regular WordPress and you get demo content, all settings and all menus basically the whole demo.

136 posts WordPress Wizard
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Won a Most Wanted contest
+6 more
CODE9RS says

Can you share your technique with us, other authors @webthemer ???

Thank you!

115 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+5 more
Webthemer says

The script was developed by YOOTheme i use there Warp Framework for developing Joomla and WordPress Themes.

Simply download the WordPress Master Theme Demo

Unzip it and in wp-content there is a install.php this is basically MYSQL database installer.

When you open it you will need to add your SQL here from your demo see what tables are in there i believe that user table is missing this you don’t need to add because the installer will add user automatically on install.

Now replace table prefixes with @TABLE_PREFIX@ and your site url with @SITE_URL@ and you demo is done put the script in the wp-content folder and erase the wp-config and you have wordpress installer with everything.

I would recommend that URL for images in Text Widgets starts with wp-content/... and not with http://sitename... because of the database serialization it will break the widgets.

Hope this helps :)

138 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
ThemeShaper says

The way I did it was (very roughly):

1)Use the WordPress importer plugin, this is the easy bit. Download the plugin, rename the classes / functions etc so you don’t get clashes.. add to your theme code in the usual way. Then place an xml export in a folder and slightly modify the installer code to use this rather than a user uploaded version.

2)Where it gets a bit fiddly.. you need to manually place certain things in the database that the installer doesn’t. I am not sure off the top of my head what is missing, but (pre 3.5 at least) any widgets will need placing in manually, perhaps menus.

You could skip 2) and just have a rudimentary installer, though its nice to replicate your demo site almost exactly.

I can say tho, its worth spending a day getting it done just because it cuts down on a lot of support issues and makes the buyer’s life much easier – Whether it increases sales or not, the installer pays for itself just from cutting support requests .

443 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+3 more
UXbarn says

Thank you for your advices @Webthemer and @ThemeShaper!

Perhaps I will start off by trying to integrate WordPress Importer plugin into the theme. Sounds fun! :)

498 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
wopethemes says

write php code , anything else?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by