Plugin and and themes
-
Hello,
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?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin and and themes’ is closed to new replies.