widgets - URLs for (MultiSite) link images are always relative

How I can I get WordPress to stop making link-image URLs relative?I'm trying to add logos to the blog-roll widget,

How I can I get WordPress to stop making link-image URLs relative?

I'm trying to add logos to the blog-roll widget, but WordPress makes the URLs of the images relative to the current blog.

For example, if the site is example/blogs, the images in the blog-roll widget at the main blog work correctly, but the ones at example/blogs/foobar are broken because instead of using something like /common/bloglogos/main.png (or even .png), it uses .png.

I've tried various combinations of URLs and formats, but it always makes the images' URLs relative to the current blog which is annoying because it would require uploading the images for all of the blogs to each of them instead of having them all in a central location which can be updated as necessary with just one change.

The URLs of the links themselves are fine, it's just the URLs of the images of the links that are the problem.

To be clear, I'm talking about images associated with WordPress links. In the case below, instead of the WP links using the image at /whatever/something.png, it will append the URL to the sub-blog, resulting in the invalid URL .png. In fact, if I put .jpg in the field, it will use ://somesite/path/pic.jpg.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745063921a4609136.html

相关推荐

  • widgets - URLs for (MultiSite) link images are always relative

    How I can I get WordPress to stop making link-image URLs relative?I'm trying to add logos to the blog-roll widget,

    17小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信