Skip to content

jonsherrard/wp-sane-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WP Sane Setup

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:

Admin Notice

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.

Done Admin Notice

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();.

About

Run some common changes to your fresh WordPress install

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages