FakerPress is a clean way to generate fake and dummy content to your WordPress, great for developers who need testing
Whenever you create a new Theme or Plugin you will always need to create custom data to test whether your plugin is working or not, and as Developers ourselves we had this problem quite alot.
Our goal with this plugin is to fill this gap where you have problem with a good solution both for Developers and for Users of WordPress.
Note: This plugin requires PHP 7.4 or higher to be activated.
Checkout our GitHub Repository
Normally a WordPress developer will need to perform the task of filling up an empty theme with dummy content, and doing this manually can be really time consuming, the main reasons this plugin was create was to speed up this process.
Create randomly generated attachments as the Featured Images for your WordPress dummy content.
WordPress has Meta for Users, Posts, Terms and Comments, FakerPress will allow you to generate custom dummy meta for all four, with 20 types of Data
After you are done with your testing it should be easy to delete all the content created using FakerPress, now you will be able to do it.
When creating dummy posts what you really want is that the HTML is really random so that you might see bugs that an XML import wouldn’t.
When you are testing your website images are important, so FakerPress will allow you to output Images to your HTML tests.
For comments our plugin is prepared to generate a real Browser data instead of leaving the field empty.
For creating and assigning the terms you will have a much better tool that will allow you to select which kind of taxonomy you want to assign to your posts, and leaving the randomization to the plugin’s code.
If you fill up your WordPress with any data for the user profiles you might not catch an edge case, this plugin will fill up the fields with data that will really matter in the tests.
We moved away from Transifex due to the new GlotPress on WordPress.org, so if you want to translate FakerPress to your language please follow this guidelines.
Great! There are several ways you can get involved to help make FakerPress better:
Thank you for wanting to make FakerPress better for everyone! We salute you.
0.6.2
. props @helgathevikingfakerphp/faker
to version 1.23
.lucatume/di52
and nesbot/carbon
Strauss dependencies, which prevents conflicts with other plugins.lucatume/di52
to version 3.3.1
.fakerphp/faker
to version 1.21
.nesbot/carbon
to version 2.66
.fzaninotto/Faker
to fakerphp/Faker/
.unlink()
call for attachments props @wpuzmancomposer.json
and using it’s autoloader.src
folder.[]
array syntax.vendor
folder.fp_array_get
params with it’s usage props @henrikwirth.fakerpress.module.attachment.download_url_timeout
defaulting to 10 seconds per attachment.file_get_contents
it was making peoples servers hang to long — Thanks @bilimokurfile_get_contents
— Thanks @lazlo-tothpost_excerpt
for Posts (how I forgot that is beyond me) — Thanks @njbarrett_encloseme
and _pingme
for FakerPress generated Postsfakerpress.module.meta.value
and fakerpress.module.meta.{$key}.value
– Thanks @Mte90post_status
wp_remote_get
to fetch external images — Thanks revaxartspost_parent
column — Reported by Bruno DCcomment_status
on Posts (#26)admin_title
been overwritten (#14)