I’m finding that ‘include(“somefile.php”) ‘ doesn’t seem to work in my-hacks.php.
I tried to use the acronymit.php script. Rather than include the entire script in my-hacks.php, I just put a line like this in my-hacks.php:
and that didn’t work!
However, when I took the entire contents of acronmyit.php and pasted them into my-hacks.php, it worked!
Now I’m trying to get the style-switcher working, and it appears that the same problems is arising.
File permissions are 0644 on my-hacks.php and on acronymit.php, and on wp-style-switcher.php.
What could I be doing wrong?
- The topic ‘‘include’ doesn’t work in my-hacks.php’ is closed to new replies.