Quote:
Originally Posted by ruko
Thanks for the code, now where do we put that?
|
I have put it in any place where either the level or the pet's name is mentioned. levelup.php or myadopts.php are the files I would start with.
If you're asking where exactly to put it in those files, I can't easily answer that. There are many places where you might want to put it. My suggestion is to study those files and how they work and decide where you want to use it.
You can make it easier by creating a function in the functions.php that handles the level name or pet name and then call that function in the levelup.php and myadopts.php files.