This topic contains 4 replies, has 2 voices, and was last updated by  michaellautman 4 years, 9 months ago.

  • Author
    Posts
  • #2583

    michaellautman
    Participant

    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

  • #2588

    Steve
    Keymaster

    @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.

  • #2599

    michaellautman
    Participant

    @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!

  • #2605

    Steve
    Keymaster

    @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.

  • #2606

    michaellautman
    Participant

    Steve,
    I think that is exactly what I’m looking for. Thanks!

The topic ‘Adding Content to a Settings Page’ is closed to new replies.