page for a plugin on the front-end
-
Hello everbody,
I am writing a plugin and I would enable my visitors to have access to the information generated by this plugin and also be able to interact with it.
I would thus need a dedicated page for my plugin on the front-end of wordpress.
I would like to avoid the manual creation of a page each time the plugin needs to be installed so I thought of emulating a page.Buddypress does that for exemple by adding the “activity”, “Forums” etc.. menues with the pages navigation. However buddypress doesn’t create any new page. How does it do that?
I know I can hook wp_list_pages to add a new navigation link.
But then, how to emulate the page? I can see the link along with the other pages of my blog but it doesn’t lead anywhere. (obviously!).
I am redirected to wordpress/test/ which is good, but then, how to make wp do something at the location “wordpress/test/” ?Thank you all very much for you help.
Florian
- The topic ‘page for a plugin on the front-end’ is closed to new replies.