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

Burobjorn burobjorn at gmail.com
Fri Oct 19 07:50:14 GMT 2007


Great. Thanks Dan, Ozh and Robin for your replies.

Dan Coulter wrote:
> 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
>>
> 
> 
> 


-- 

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


More information about the wp-hackers mailing list