Joined May 2019
·

coconutcoder

Developer at Webanautics
·
Fort Lauderdale
·

I signed up on this site just to congratulate the script author. Just what I was looking for! And with a little tweaking, works very well for my purpose.

Newscruzer said he added the class directly into the functions.php. I chose to save the class as its own file in the theme root. Add:

requireonce("onthe_fly.class.php");
makevirtual();

...in your functions.php, just before calling the function that invokes the class. This way if you ever change themes you don't have to do too much re-write in the functions.php file. Customize newscruzer's makevirtual() function to your own needs. You can parse url segments or GET variables for some really powerful applications.

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills