I have looked all over the web for a tutorial or code on how to create a custom css textfield for a plugin. Would really appreciate if someone could help. Thanks!
2 comments
Comments are closed.
I have looked all over the web for a tutorial or code on how to create a custom css textfield for a plugin. Would really appreciate if someone could help. Thanks!
Comments are closed.
ok bro lets do it
in plugin main file you must register setting for css field
Like:
And then in your settings file where you create setting form
(e.g. setting.php)
Then call it in your template under the
get_header();
or you can add in header in plugin main file Like:
Hope this will help you 🙂
It depends on where you’re trying to put the custom CSS box.
More info would let me help answer the question better.