114 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
+4 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.

3711 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.

114 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
+4 more
ThemeVillage says

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

3711 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.

114 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
+4 more
ThemeVillage says

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

3711 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 :)

501 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)

114 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
+4 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 ?

3711 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).

501 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 ?

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