Home Forums Newsletter Plugin Support How to use WordPress function in theme.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18165

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.