I want to create a settings page from within a plugin. I copy and pasted directly from the doc.
The menu would be created and the basic page loads, but no page content from demo-settings.php at all. I tried all kinds of variations on folder structure and nothing worked.
Then, for the heck of it, I tried putting the demo-settings.php file inside the Piklist plugin’s parts/settings directory and now it shows up.
This seems really incorrect. Should it not be parts/settings inside MY plugin’s folder, and not Piklist’s folder?
Only structure that works:
plugins/
piklist/
parts/
settings/
demo-settings.php
my_plugin_name/
my_plugin_name.php
Running on version 1.0.1 of Piklist and an almost bare WP install.