109 posts Norris & Tanita
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
ThemeVillage says

Hey fellow Wordpress Theme authors – I’m wondering how do you guys generate your Dummy content? I saw that some authors give out the full demo and replace all the images with a blank black square. Do you do a regex replace on the export file or is there a plugin for that ? Cheers, Norris.

3544 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

Hey fellow Wordpress Theme authors – I’m wondering how do you guys generate your Dummy content? I saw that some authors give out the full demo and replace all the images with a blank black square. Do you do a regex replace on the export file or is there a plugin for that ? Cheers, Norris.

I copy all the images offline, process them with a free image processor software, put them back online.

109 posts Norris & Tanita
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
ThemeVillage says

So you have a separate installation that has a “blank” demo?

3544 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

So you have a separate installation that has a “blank” demo?

Well, up until recently i’ve done this. But lately i have kept the same server and just replaced the files (in the .xml file). You can simply upload the changed images in a different place and modify all occurencies of the initial domain (uploads folder) in the xml file.

109 posts Norris & Tanita
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
ThemeVillage says

So basically a regex search & replace…. mkei. I was hoping there was a “better” solution, but whatever works I guess :)

3544 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

So basically a regex search & replace…. mkei. I was hoping there was a “better” solution, but whatever works I guess :)

I use the word regex only for complicated solutions. If you have to search “http://demo.krownthemes.com/wp_3/wp-content/uploads/” to “http://demo.krownthemes.com/dummy_content/wp_3/uploads/”, it shouldn’t take you more than 10 sec :)

492 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Note that if you replace a value stored into a serialized object, the import file will break (unless both values have the same length)

109 posts Norris & Tanita
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been a beta tester for an Envato feature
+5 more
ThemeVillage says

Yeah I don’t want to keep that many “black” images on my server. I would prefer to upload a single image, and then regex replace everything with that. (for example ”/some-author-Pretty_Photo09-300×300.jpg” with “black-300×300.jpg” ). Hopefully that should work.

But thanks for the idea.

By the way – in case my regex fails – what’s the “free tool” you’re using ?


Note that if you replace a value stored into a serialized object, the import file will break (unless both values have the same length)

Now that sucks. I assume you’re doing it like Ruben ?

3544 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

^ http://www.photoscape.org/ps/main/index.php .. you can also do it in PS if you have a copy (i don’t)

Note that if you replace a value stored into a serialized object, the import file will break (unless both values have the same length)

Even if you don’t replace strings in serialized data, they will still not import. So if you set up a separate “import wp install” and don’t touch the .xml file at all, you still won’t be able to import the serialized data (not without extra code of course).

492 posts
  • Has referred 1000+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
pixelentity says

Even if you don’t replace strings in serialized data, they will still not import. So if you set up a separate “import wp install” and don’t touch the .xml file at all, you still won’t be able to import the serialized data (not without extra code of course).

why not ?

by
by
by
by
by
by