WordPress-Plugin-Boilerplate icon indicating copy to clipboard operation
WordPress-Plugin-Boilerplate copied to clipboard

How to start?

Open lpserra opened this issue 6 years ago • 6 comments

How do I add an item in the admin menu that calls a page with hello, world?

lpserra avatar Jan 30 '19 01:01 lpserra

Take a look a the Plugin Developer Handbook: https://developer.wordpress.org/plugins/administration-menus/

tomlschmidt avatar Mar 19 '19 14:03 tomlschmidt

Plugin ought to have a default admin page loaded

simplenotezy avatar Oct 02 '19 08:10 simplenotezy

I found an article about how to set up an admin settings page: https://blog.wplauncher.com/create-wordpress-plugin-settings-page/

I'm still struggling with the basic usage of the boilerplate, but well.. it's a starting point at least.

reyneke-vosz avatar Feb 25 '20 08:02 reyneke-vosz

Plugin can have a commented out admin menu and admin page.

sabithpocker avatar May 27 '20 13:05 sabithpocker

In my fork, there's a sample Settings page.

adamradocz avatar May 28 '20 06:05 adamradocz

I was investigating a similar issue and came across the demo plugin built using this boilerplate by the boilerplate developer: https://github.com/DevinVinson/wppb-demo-plugin

Referencing this demo I was able to implement the plugin settings as intended. There is actually a settings class that is omitted from the boilerplate, and which is critical for rounding out the plugin. I'm not sure why the boilerplate does not include this class or its implementation. See demo plugin -> includes/class-wppb-demo-plugin.php -> define_admin_hooks(). and also admin/class-wppb-demo-plugin-settings.php

dmuellerstl avatar Aug 21 '20 14:08 dmuellerstl