Plugin and and themes
I am writing a plugin that add a js listener to the comment’s form submit button. This is done by hooking the comment form_action and printing js code to the page. To recognize the buttom I use the id of the form (‘commentform’). I looked at the theme directory and noticed that this id is defined there.
My question is, do theme makers tend to change the ids of different elemnts, or I can be shure my plugiin will work with any theme?
- The topic ‘Plugin and and themes’ is closed to new replies.