Tagged: admin page, CPT, plugin, settings
- This topic has 4 replies, 2 voices, and was last updated 7 years, 3 months ago by
michaellautman.
-
AuthorPosts
-
-
October 19, 2014 at 8:23 pm #2583
michaellautmanMemberI’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
SteveKeymaster@michaellautman– Welcome to the community! Piklist makes EVERYTHING in WordPress better and easier. This includes: Help text, Pointers and Admin Notices. You can learn how to create all three in the User Instructions section of our Docs.
Let us know if that helps.
-
October 20, 2014 at 7:18 pm #2599
michaellautmanMember@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
SteveKeymaster@michaellautman– The “About” page is two parts:
1) Register the page: In
class-piklist-setting.php, check out theadmin_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
michaellautmanMemberSteve,
I think that is exactly what I’m looking for. Thanks!
-
-
AuthorPosts
- The topic ‘Adding Content to a Settings Page’ is closed to new replies.