Wordpress TinyMCE button to add a piece of code at the bottom of the post?
I'm currently looking to see if there's a Wordpress plugin like a tinyMCE button that will allow me to add custom code at the end of th开发者_运维技巧e post, something like:
<h3>please enter title</h3
<div id="content">please enter content</div>
If you don't know of any plugin could you direct me to some tutorials on how to create a custom button?
Thanks a lot!
Cris
Here is a WP specific tut http://brettterpstra.com/adding-a-tinymce-button/
Here is a link to a tutorial on how to write a custom plugin. You will need to use it to insert a custom button with a custom functionality. It is not that difficult.
精彩评论