Getting Started

 

After you download your generated code, get oriented by looking at the Files Overview.  You do most of your coding in the XXX_Plugin.php class file.

You may need certain operations to happen during install/uninstall (including making database tables), during activation/deactivation, and during upgrades.

You probably want to add your own actions and filters including en-queuing Javascript & CSS Files

Maybe add short codes

You may need to add some AJAX handlers

Your plugin may need to have options including an options administration page.

You will want to understand how to enforce role security.

You may need to add administration pages.

As a good plugin writer, you will want your plugin to support internationalization.

Once you have your plugin created, you may want to share it. To do this, register your code on WP.org.

You will later want to release and upgrade your plugin.

 

  5 Responses to “Getting Started”

  1. […] menu Skip to primary content Skip to secondary content HomeDesign TenetsGetting StartedDownload Template Plugin CodeFiles OverviewInstall/Uninstall ActionsCreating Database Tables During […]

  2. I get a security error when trying to access most of the pages, such as “install/uninstall”, etc. Is there something I need to do to access all the documentation?

  3. Great! I compared a few plugin templates and I decided I’d go with yours as it’s pretty clean and I only did minor tweaks (like putting css/js/img in assets folder).

    However, I’m surprised to see that the plugin does not show up under Plugins, so I cannot activate it.

    Wonder what I am missing?

Leave a Reply to bmaso Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>