3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says

It’s one of those days when after spending 4 hours of trying to fix a bug you discover that all you had to do was to replace get_template_directory_uri() with get_template_directory() .. and everything is back to normal again!

And i’m so happy that i simply had to create this thread! :D

327 posts just a random dude...
  • Affiliate Level 1
  • Author Level 8
  • Beta Tester
  • Collector Level 4
+6 more
trendyWebStar
says

I had similar experience last 2 hours… :) And all i had to do is change just a small piece of code! :D

3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

Here you go :P

Don’t know what is happening today… I also had a sudden realization about some content handling – helped A LOT in what I was doing. :) Feels good :P

128 posts
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 1
  • Mo Bro
+3 more
Dary
says

It could be get_template_directory_Ruben() not get_template_directory() :D

500 posts Keep Walking
  • Trendsetter
  • 4 Years of Membership
  • Elite Author
  • Author Level 9
+5 more
UXbarn
says

Happy to you Ruben! :D

I’ve just faced the stupid situation and got headache for about an hour because of variable name mistyping… damn it.

1899 posts Multimedia Artistry
  • Elite Author
  • 4 Years of Membership
  • Freebie
  • Most Wanted Winner
+4 more
dnp_theme
says

I am new to WP, I hope I am not messing things: wouldn’t Theme Checker help in that case Ruben?

48 posts
  • Affiliate Level 1
  • Author Level 2
  • Exclusive Author
  • 3 Years of Membership
2mates
says

It’s one of those days when after spending 4 hours of trying to fix a bug you discover that all you had to do was to replace get_template_directory_uri() with get_template_directory() .. and everything is back to normal again! And i’m so happy that i simply had to create this thread! :D

Haha, i know that feeling, when you spend hours and hours troubleshooting the problem, and the problem is one line of code. Priceless development moments :)

by
by
by
by
by
by