Using PHP includes in templates?
-
My old 1.2 site had all sorts of includes. I’m trying to convert the same setup to a proper 1.5 theme, and I’m having trouble getting the includes to work. I can get the theme directory though bloginfo(“theme_directory”), but that echoes it instead ot returning it for use in PHP code. I don’t feel much like hardcoding the links, as that would make the theme work only in my setup.
Is there any other way to find out the theme dir and use it in PHP include statments? Any other solutuions?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Using PHP includes in templates?’ is closed to new replies.