referencing theme directory from custom function
-
I’m trying to write a function to include in my theme that opens a text file for input. Is there a WordPress variable I can use instead of the absolute file path?
Instead of:
$textfile = "blah/blah/blah/textfile.txt"
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘referencing theme directory from custom function’ is closed to new replies.