Home › Forums › Newsletter Plugin Support › How to use WordPress function in theme.php
I’m developing a custom theme and I would like to know how to use wordpress functions within the file theme.php . For example function bloginfo doesn’t exist. I’m trying to use $wpdb but doesn’t work.
WordPress functions should work, eventually you need to include some php core files. $wpdb must work, eventually declare it global at the start of the file.
Terms and Conditions
Sign up for latest news, important updates and special tutorials.
© 2022 Web Agile S.a.s. di Fietta Roberto - VAT IT-03809490240