Don’t Worry, You’re In The Right Place
A lot of these posts were originally on SureFireWebServices.com. So if you found them through search engines or clicking around, this is their new home :). Enjoy!
0

Image Path Fix for Timthumb and WordPress Multisite

Featured images don’t play nice with wordpress multisite. The problem is when you use standard wordpress/genesis functions, the paths to the images are all wrong!!!! (When using timthumb of course).

I was using it for a theme demo of my blog actually and used subdirectories on my multisite. But every time I added a featured image, it would be broken…

So here’s a quick little fix that will get it working correctly!

Add this to your functions.php file:

Now when you go to use timthumb, you can use something like:

And that’s all there is to it! Feel free to ask questions!

Advertisement
About the Author
What's UP! This is my site, I write 99% of the articles on here. I'm also the owner of SureFireWebServices.com. I help out a lot of developers and designers getting into the web game. Helping is fun for me, so feel free to ask me any questions! I've made courses and have a membership as well to help get you on your feet!

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top