Style Your WordPress Plugin

Posted on Posted in My Blog

Ever wondered how to style your WordPress plugin’s admin pages?

WordPress Administration PanelI have recently been working on a plugin that makes use of many features that can be found elsewhere throughout the WordPress administration pages. I wanted to give the plugin a feel that really fit with WordPress but wasn’t sure where to start. I found this Onextrapixel article extremely helpful to get a start on styling my WordPress Plugin Admin pages.

Also, if you are interested, here is the WordPress documentation on how to create your own link with sub-pages in the WordPress Administration Menu. This is very helpful if you have a plugin that requires multiple admin pages and you want to keep it organized.

It is also very helpful to get Mozilla Firefox or Google Chrome and inspect existing WordPress tables/layouts/images… to find the CSS classes and IDs used by WordPress. Sometimes the easiest way to style your plugin is to use the same classes and IDs in your own code.