Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Theme PHP File Include Issue
#1
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.
Reply


Messages In This Thread
Custom Theme PHP File Include Issue - by korey.badgley - 2015-09-09, 04:13:02



Users browsing this thread: 1 Guest(s)