October 19, 2014 at 8:23 pm #2583
I’m using Piklist to develop of CPT plugin – and I have to say, it’s a dream to work with. I’m at the stage of building my Settings pages, and I can’t seem to figure out how to add any regular content (like instructions) to these pages. Thanks
October 20, 2014 at 12:00 pm #2588
October 20, 2014 at 7:18 pm #2599
@Steve, it does.. but I’m looking to create a page like the “Welcome to Pilklist” page in the plugin menu. I’m just not sure how to register a page like that. I poked around the Piklist code, but couldn’t find it. I was hoping that you could hold my hand a little here. I have a feeling that it’s easy to do, and that there probably a lot of other folks who would like to do something similar.
Thanks for the quick response and the great work!
October 21, 2014 at 10:25 am #2605
@michaellautman– The “About” page is two parts:
1) Register the page: In
class-piklist-setting.php, check out the
admin_pages()function. This is where we register all the Settings pages.
2) Create the page: In
piklist/parts/admin-pages/welcome.php, we create the actual page.
You should be able to copy and paste most of this into your plugin to get started. Let us know if you need any more help.
October 21, 2014 at 10:44 am #2606
I think that is exactly what I’m looking for. Thanks!
The topic ‘Adding Content to a Settings Page’ is closed to new replies.