Include a php file?
-
Hi, I’m trying to include a php file from the theme directory like this:
[php]include_once "/wp-content/themes/mytheme/popular-this-week.php";[/php]
But it does not output anything?
If I include the content of the file directly in the post it’s working fine.Any idéas?
Thanks ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Include a php file?’ is closed to new replies.