You want to create pages during the install process? Why not create the pages after the install is done? Am I not understanding right? What kind of pages are you talking about?
Check /wp-admin/install.php. Lines 159 through 167 insert your first post and comments. You could use those queries as guidelines to create pages during the install process (since pages are very similar to posts).
for the type of installs I am going to be doing (alot of them) I want to have pages automatically created so I dont have to do them manually for each install.
Since page creation is so easy, I don’t mind having to create new pages that way, but ideally if it were automatic then it would be easier.
edit: ming just posted. I did see how to create a new post by changing the install.php file. However I am asking for more specific info on what code I should use for creating pages.
thanks.
any one else might have an idea on this?
thanks.
Pages are just like posts, but their post_status is “static” instead of “publish”.