[wp-hackers] automatically create a new page with plugin upon
installation
Burobjorn
burobjorn at gmail.com
Wed Oct 24 18:41:46 GMT 2007
Mhhm perhaps I have overlooked something. I can't figure out how to
directly set the appropriate theme for this newly inserted page.
In a nutshell:
I want to create a page upon my plugin's installation and also set this
page to a specific theme included with the plugin.
Any help much appreciated!
All the best,
grtz
BjornW
Burobjorn wrote:
> 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