Hey all,
I finally had to dip my fingers in WordPress for a few upcoming sites. I'm researching plugins which turns out to be a really windy, twisty turn through a combo of the Codex and misc blog tutorials.
I'm writing a plugin with an admin panel the admins can enter data into. I'm creating a database table upon install to keep track of the data.
What I'm a bit confused on is the best practice way to display this data on the front face of the website. There's a bunch of logic that weaves the data the admin enters to display the page properly which is why I'm not just using the built in page/post CMS for this page.
Should I be hooking into a filter to look for a custom shortword and inject the display of the page there? Should I make a custom page template and put the code necessary there? What is the best practice way to display this page to the public?
Bonus points is not requiring the user to use the page or post system in the CMS at all. If I could create some kind of permalink myself to retrieve the data and let them link to it while having the template wrap around it, that'd be great!
How would you do it?
I finally had to dip my fingers in WordPress for a few upcoming sites. I'm researching plugins which turns out to be a really windy, twisty turn through a combo of the Codex and misc blog tutorials.
I'm writing a plugin with an admin panel the admins can enter data into. I'm creating a database table upon install to keep track of the data.
What I'm a bit confused on is the best practice way to display this data on the front face of the website. There's a bunch of logic that weaves the data the admin enters to display the page properly which is why I'm not just using the built in page/post CMS for this page.
Should I be hooking into a filter to look for a custom shortword and inject the display of the page there? Should I make a custom page template and put the code necessary there? What is the best practice way to display this page to the public?
Bonus points is not requiring the user to use the page or post system in the CMS at all. If I could create some kind of permalink myself to retrieve the data and let them link to it while having the template wrap around it, that'd be great!
How would you do it?