Trying to create new plugin
-
Greetings all. This is probably somewhere else in the forums, but my search didn’t turn up anything, so I’m asking here: Is there some sort of basic ‘How to write a WP Plugin’ tutorial out there somewhere? I just finished a dirty little hack on my own blog that uses some code from dynamicdrive.com to create little floaty tooltips when you mouse over specific page elements, such as links, with whatever text or other content you like. You can see it in action on my site, https://www.techgnosisweb.com/. However, to do this, I edited the Main index file directly to include the CSS code for it, since some of it goes in the head section and some in the body section, and then I hand-edited the quicklinks.js file to create a button in the editing interface that would allow me to insert the floaty-text code into whatever element I’m currently editing. After finishing that up, I figured other folk might like it, maybe with a few more options, like selecting the background color and width of the tooltip at the moment of creation, stuff like that. So I’d like to learn how I could have done this using the plugin interface, so I can maybe package it up and give it back to the community. Anyone out there got some links to decent WP plugin tutorials?
- The topic ‘Trying to create new plugin’ is closed to new replies.