plugin using site address instead of wordpress address to serve images
-
hey there!
I like the plugin, had a few hicups that I was able to resolve in my custom configurations. However one thing I can’t solve (mostly because I’m having a hard time reading the code :p) is that when you have the thumbnail of the featured post, the plugin uses the site address instead of the wordpress address to pull the url for the thumbnail.
So for example, my site thegeekycoder.com (not promoting, it’s live, you can see the bug right now) has the site address set to the root / of my domain. However, for organization reasons I’ve placed the blog files in a blog/ subdirectory, and used the rewrite rules provided for wordpress to link them.
The problem happens when the plugin tries to reference example.com/uploads/someimage.jpg, which is wrong because the physical location of the file on the file system is actually example.com/blog/someimage.jpg.
I’d say that this is a pretty easy fix, and I tried to do it myself however I’ve had hell trying to find where you set the image’s url, so I’m posting here in hopes of a fix or some directions to fix it myself.
tyvm for the plugin, it’s done everything I’ve wanted it to do… Except this :).
https://www.ads-software.com/plugins/advanced-featured-post-widget/
- The topic ‘plugin using site address instead of wordpress address to serve images’ is closed to new replies.