Screenshot.png不在管理员上显示(Screenshot.png Not displaying on admin)

编程入门 行业动态 更新时间:2024-10-20 05:23:20
Screenshot.png不在管理员上显示(Screenshot.png Not displaying on admin)

我已经安装了一个高级主题并更改了screenshot.png并通过ftp上传了它,在查看管理面板时它仍然显示旧的screenshot.png和它链接的链接是

http:// www. mysite .com/wp-content/themes/mytheme/screenshot.png

如果我直接去链接

mysite.com/wp-content/themes/mytheme/screenshot.png

它显示了我的新屏幕截图,但没有在我的管理面板上显示,为什么管理面板会检测到带有www的屏幕截图,如果我查看我的主机文件管理器,我的主题有新屏幕截图。 我试图从头开始删除并重新安装wordpress,包括主题,但仍然做同样的事情。 有什么想法吗?

谢谢!

I have installed a premium theme and changed the screenshot.png and uploaded it via ftp, upon looking at the admin panel it still display the old screenshot.png and the link it was linking was

http:// www. mysite .com/wp-content/themes/mytheme/screenshot.png

and if I directly go to the link

mysite.com/wp-content/themes/mytheme/screenshot.png

it shows my new screenshot but not showing on my admin panel, why does the admin panel detects the screenshot with www and if I look on my hosting file manager my theme has the new screenshot. I've tried to delete and reinstall wordpress from scratch including the theme but still doing the same thing. any thoughts?

Thanks!

最满意答案

它可能是缓存的。 尝试CTRL + F5或清除浏览器缓存,看看是否有帮助。

更快的解决方案是在URL的末尾添加一个查询arg,比如?refresh=1 ,这会让你的浏览器认为它是一个不同的URL,即使查询arg没有做任何事情。 在您的缓存清除之前,这不会解决原始问题,但它会告诉您它正在运行(至少对于尚未看到旧版本的其他人)。

It's probably cached. Try CTRL+F5 or clear browser cache and see if that helps.

A quicker solution is to add a query arg to the end of the url, like ?refresh=1 which would make your browser think it is a different URL, even if the query arg doesn't do anything. This won't fix the original issue until your cache clears, still, but it will tell you that it is working (at least for other people who haven't seen the old version yet).

更多推荐

本文发布于:2023-08-04 09:33:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1415187.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:管理员   png   Screenshot   displaying   admin

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!