How Do I Make a Plugin to Change Text
-
Hello! I am working on a small plugin that will change some text around my site. The main reason I am not just going into the core files and changing the text is because I want to be able to update the theme at any time without having to go back in and add my changes to the theme files (I also want to learn how to make plugins just for the sake of learning).
Anyway, I have read every single article I could find (Plugin Basics, Writing a Plugin, Plugin API, Adam Brown’s Hook Directory, and more), but I am still having trouble.Right now I want to change the text in the comments area, so I have:
function update_comments() { $args['title_reply'] = '<h5>'. __( 'TEST' ) .'</h5>'; }; add_action('comment_form','update_comments');
I would like for “Post a Comment” to change to “TEST”, but nothing changes, so obviously there is something I am missing.
- The topic ‘How Do I Make a Plugin to Change Text’ is closed to new replies.