jonsherrard / wp-sane-setup
Make some sensible setup changes to a new WordPress installation
Installs: 1 092
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 3
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=5.3.0
- composer/installers: ~1.0.6
This package is not auto-updated.
Last update: 2024-11-09 17:50:52 UTC
README
Make some sensible setup changes to a new WordPress installation.
NB: This plugin only makes changes to the database, nothing is hardcoded.
Changes WP Sane Setup will make to your fresh install:
- Delete the 'Hello World' post
- Delete the 'Sample' page
- Create a 'Home' page
- Set the front page to 'Home'
- Rename the 'Ucategorized' category to 'News'
- Set the start of the week to Monday
- Set default permalinks to
/category/post-name
- Disable emojis
UI
Once the plugin is enabled, a WordPress admin notice will ask you to run sane setup:
Once the WP Sane Setup has run, the plugin is rundundant, and an admin notice will ask you to deactivate the plugin. After this you may want to delete WP Sane Setup from your plugins.
Contributing
Contributions for other 'sane defaults' are welcome. Send me a pull request!
It's pretty easy, just wrap the singular change you want to make in a function, then in function do_setup()
, call $this->example_change();
.