![]() This folder contains all our admin facing code including css, js, partials folders and a php file class-sendex-admin.php. When you open the plugin folder sendex, you will notice that the plugin has 4 folders: admin, includes, languages, public and some other files. Now that our plugin is installed, let’s review our boilerplate folder structure. Activate the plugin by clicking on the activate link. If you are logged in, you should see our new plugin in the list of plugins. Once you’re done, go to the admin plugin page localhost/sendex/wp-admin. You can change the details later once you fully understand the code.Īfter downloading the boilerplate above, extract it into your WordPress plugin folder i.e. ![]() This will make it easier to follow along with the code. I’d suggest you use the same details I entered. You can fill in whatever you want in the fields above. Plugin Name = SEND SMS Plugin Slug = sendex Plugin Uri = Author Name = Onwuka Gideon Author Email = Author Url = For example, here are the fields I filled in: To get started, just go to the WordPress Plugin Boilerplate Generator and fill-out the form then click on the Build button. ![]() This boilerplate will get you started quickly with a standardized, organized and object-oriented foundation – basically, everything you want if you started from scratch. You might be asking why are we using a boilerplate instead of building from scratch. The best way to begin with a new plugin is by working on the incredibly useful WordPress Plugin Boilerplate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |