Im using a right approach to use this class inside WordPress theme?
The easiest way to have access to your variable in other files is to do exactly what Chip suggested, globalize the variable. This is the same thing WordPress does to make global variables like $wpdb available in other files. I can already see you’re making calls to the global $wpdb variable in your class. You … Read more