2015-09-09, 04:13:02
Hello,
I am having an issue where I created a custom PHP file, that gets all the pictures in an image directory, and displays them on the page in correctly formatted DIV/IMG tags.
It will work correctly when I use it in a "Standalone" scenario, however...When I include it in the template.php file, the img tags do not show up, I believe this is because of a permission issue when included?
However I also noticed that I cannot use get_theme_url() function either, it says it is undefined.
I am having an issue where I created a custom PHP file, that gets all the pictures in an image directory, and displays them on the page in correctly formatted DIV/IMG tags.
It will work correctly when I use it in a "Standalone" scenario, however...When I include it in the template.php file, the img tags do not show up, I believe this is because of a permission issue when included?
However I also noticed that I cannot use get_theme_url() function either, it says it is undefined.