3568 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 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...
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+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
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 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
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Pulled off some great moustache to raise money or awareness for Movember Australia
+3 more
Dary says

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

422 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 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.

1703 posts Multimedia Artistry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Contributed a free file of the month
  • Won a Most Wanted contest
+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
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Europe
+1 more
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