[wp-hackers] Map a custom url to its content.
mpwalsh8 at gmail.com
Tue May 18 15:13:59 UTC 2010
One way to do this would be to create the page you want and add
a custom short code to it. Your plugin could then do the processing of the
short code and display the form and process it as needed.
On Tue, May 18, 2010 at 7:58 AM, Rajasekharan S <rajasekharan.s at tcs.com>wrote:
> Hi all,
> Here's what I want my plugin to do:
> I want my plugin to map a URL on the blog to some content that it will
> generate like a form. The plugin generates the URL. For example:
> Visitng the URL generates shows a form. This web page is not a "page" of
> any content type that was created using the wordpress admin panel.
> Generating this page should not require the user to create a page or post
> manually using the admin panel.
> So my question is :
> How can I map a URL to a function that will return some content that the
> user will see at that URL?
> Rajasekharan S
> Tata Consultancy Services
> Mailto: rajasekharan.s at tcs.com
> Website: http://www.tcs.com
> Experience certainty. IT Services
> Business Solutions
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Mike Walsh - mpwalsh at gmail.com
More information about the wp-hackers