chibib0
Member
Posted 7 months ago #
Hi,
Basically, I want to create a plugin with textarea options like:
Welcome Message:
[Textarea]
Thank you message:
[Textarea]
[Submit]
The output that can be putted on the theme would be, $welcome_message; and $thankyou_message;
Another thing, if its possible for that textareas to be the tinymce editor of wordpress..
Please help.
Thank you.
You want the Settings API. Do a Google search for "wordpress settings api tutorial" and you should be able to find good step-by-step instructions on adding this to your theme. Here is one such source:
http://www.chipbennett.net/2011/02/17/incorporating-the-settings-api-in-wordpress-themes/
As for using TinyMCE for your textareas, the answer is yes, you can do that. However, I've never needed to do such a thing for any of my projects. But maybe this will help:
http://stackoverflow.com/questions/2855890/add-tinymce-to-wordpress-plugin
chibib0
Member
Posted 7 months ago #