[wp-hackers] Adding a front end page without adding a "page"
johnbillion+wp at gmail.com
Fri Sep 4 07:45:54 UTC 2009
Don't forget to include a message informing the user that a new page
will automatically be created (or better still, give them an option).
2009/9/4 Dion Hulse (dd32) <wordpress at dd32.id.au>:
> your best bet is going to be to insert a page with a shortcode automatically
> in the page.
> look into wp_insert_post() with post_type = 'page'
> On Fri, 04 Sep 2009 13:15:18 +1000, rajasekharan <websweetweb at gmail.com>
>> Hi all,
>> In a plugin I am trying to add a front end page. This page should use
>> the template as generated by the single.php template.
>> In Contact Form 7, the user creates a page using the Add page interface
>> and places a shortcode to make the form appear in the
>> page. I would like to be able to do this automatically without the use
>> having to do anything.
>> Any idea how I can achieve this?
>> Raj Sekharan
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> Dion Hulse
> e: contact at dd32.id.au
> w: http://dd32.id.au/
> m: 04 6621 9112 (+614 6621 9112)
> WordPressQI: http://wordpressqi.com/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers