Hi all, I've developed a theme system and I want it to do a double duty of setting up some default option values in the database.
So here's what I'm trying to do...
When the template is installed, I want the installer to also...
1) Set permalinks to /%postname%/
(I'm assuming its a simple update statement on the wp_options table)
2) Set "uploads_use_yearmonth_folders" to 0 (the default is true, I want it to be false)
3) Set privacy options (blog_public) to 1 (the default is false)
Any help much appreciated. Seems simple enough to update a few fields in the db, but I'm not sure how to create a connection and also if I can intercept the template build process to make these edits programmatically or if it will need to be a manual button click on the template's options screen (or perhaps even via a plug in)