Thanks for the tutorial. This is the first one that has made sense to me.

I have a question regarding the calling of functions within functions…

For the sake of this example, I am trying to call one of my custom functions from inside the get_randomcol() function. But when I do so, I get the error that my custom function has not been defined. I know it’s defined as I reference it elsewhere and even on the same page as your script runs.

So is it possible to call non-WP functions from within get_randomcol() and how?

Thanks,
Eric