[wp-hackers] automatically create a new page with plugin upon installation

Dan Coulter dan at dancoulter.com
Thu Oct 18 17:05:18 GMT 2007


Check out this function:

http://codex.wordpress.org/Function_Reference/wp_insert_post

On 10/18/07, Burobjorn <burobjorn at gmail.com> wrote:
>
> Hi,
>
> I want my (WPMU) plugin to automatically create a page with a specific
> theme in the main blog upon installation. I recall seeing this been done
> by another (wp or wpmu) plugin, but I can't remember which one nor how
> it did this. I was wondering if someone could point me in the right
> direction in order to do this either for WP or WPMU.
>
> Thanks in advance,
>
> All the best,
>
> grtz
> BjornW
>
> --
>
> met vriendelijke groet,
> Bjorn Wijers
>
> * b u r o b j o r n .nl *
> digitaal vakmanschap | digital craftsmanship
>
> Concordiastraat 68-114
> 3551 EM Utrecht
> The Netherlands
>
> phone: +31 30 2444 101
> http://www.burobjorn.nl
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Dan Coulter
http://www.dancoulter.com/
http://www.phpflickr.com/
It is time - http://e-hobo.com/

Hey, I got nothing to do today but smile
-Simon and Garfunkel


More information about the wp-hackers mailing list