0

So, I've done a lot of searching around and there doesn't appear to be any form of Boiler Plate for creating Custom Forms, Dropdowns and that kind of thing within a custom Wordpress plugin. Although, from what I can tell the Wordpress admin panel has its own particular style that I would like to match.

My question is, is there any form of default templates to go off for creating Plugin Admin Options or should I build them from a fresh menu similar to how you would a fresh HTML page?

1

1 Answer 1

1

This is a great question. I have never seen any kind of framework inside Wordpress for building forms, and after a bit of searching now to verify this, I don't think there is one, although I'm sure others will correct me if there is ;-)

So, you probably need to hand code forms as you would with a fresh HTML page.

However, there are a bunch of guidelines out there around coding standards and other bits and bobs that might make your life much easier with other issues around building plugins such as boilerplate PHP for integrating with admin hooks, and things you need to know about e.g. naming conventions.

I know this wasn't your question and you may have seen this, but for reference here's a couple of useful links that might help you go faster with other plugin/PHP boilerplate code:

1
  • I'll be sure to take a look at those links, thankyou. Its very odd though isn't it that there isn't anything like that out there considering the amount of use Wordpress gets Jun 29, 2020 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.