Create a custom page inside my plugin
-
I am working on a small plugin, that will have to fetch some data from the database and display it on the page. I’ve setup the plugin folders and created a first class that creates custom sql tables on plugin install:
register_activation_hook( __FILE__, array( ‘MyPlugin’, ‘install’ ) );
which goes just alright. So this is where I get lost, because now what I need to do is create a new page, say todolist.php inside my plugin (which I can surely do) and add default wp header, footer and sidebar info to make it look as part of the website. I feel I miss some major understanding of how plugins work in WP, because I failed to find this info, but instead lots of articles about hooks and filters. Any advice would be appreciated!
- The topic ‘Create a custom page inside my plugin’ is closed to new replies.