This topic contains 2 replies, has 2 voices. Last updated by Eduan 3 years, 11 months ago.
|Posted: Wednesday Jul 25th, 2012 at 11:30 am #20206|
I have needed to post this hack a couple of times, so I decided to just make a post here.
What it does:
It basically changes some text that you would have to hack WordPress itself to change. So for example the submit button, you may want to change it from “Register” to “Submit” or “Sign up”, so this hack allows you to do this easily.
How to install:
Make a PHP file named “text-replacing-hack.php” (without the quotes) and inside it put the following code:
Now, make sure you put this file in a folder named “mu-plugins”, it stands for Must-use Plugins, this folder must go under wp-content/mu-plugins.
So the structure should be wp-content/mu-plugins/text-replacing-hack.php.
Hope this helps people. :)