What is the best way to create frontend pages from a plugin?

I would like my plugin to provide front-end pages; one which is a list of club members from a custom table and another that will show member details again from a custom member table. Ideally the pages would also be able to make use of custom javascript.

What is the best way to do this, whilst keeping in with the look and feel of whichever theme is being used?

Should my plugin create actual pages when it is activating, and somehow include custom content and javascript? Or would my plugin be responsble for providing its own custom content pages somehow?

There seems to be a few ways of doing this, so I would appreciate any pointers.

Read more here:: What is the best way to create frontend pages from a plugin?

Leave a Reply

Your email address will not be published. Required fields are marked *