[wp-hackers] Adding a front end page without adding a "page"
Dion Hulse (dd32)
wordpress at dd32.id.au
Fri Sep 4 06:01:18 UTC 2009
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>
wrote:
> 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
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
--
Dion Hulse
e: contact at dd32.id.au
w: http://dd32.id.au/
m: 04 6621 9112 (+614 6621 9112)
WordPressQI: http://wordpressqi.com/
More information about the wp-hackers
mailing list