Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 从wordpress图像中删除日期?_Php_Wordpress - Fatal编程技术网

Php 从wordpress图像中删除日期?

Php 从wordpress图像中删除日期?,php,wordpress,Php,Wordpress,当我在Wordpress中上传图像时,我得到: http://test.net/wp-content/uploads/2011/04/test_image.jpg 然而,我希望它是这样的: http://test.net/wp-content/uploads/test_image.jpg 看到第二个网址上的日期没有了吗?不管怎样,这可能吗?要从图像URL中删除日期戳?请登录您的WP管理员,然后转到设置>媒体,并确保未选中“将我的文件组织到基于月份和年份的文件夹中”选项 在同一设置页面上,您可

当我在Wordpress中上传图像时,我得到:

http://test.net/wp-content/uploads/2011/04/test_image.jpg
然而,我希望它是这样的:

http://test.net/wp-content/uploads/test_image.jpg

看到第二个网址上的日期没有了吗?不管怎样,这可能吗?要从图像URL中删除日期戳?

请登录您的WP管理员,然后转到
设置>媒体
,并确保未选中“将我的文件组织到基于月份和年份的文件夹中”选项

在同一设置页面上,您可以完全更改默认上载文件夹


希望这有帮助

我看不到任何地方。。。等等,它在别处。呵呵。对于旧版本,我想应该是
Settings>Media
。但是如何从现有媒体中删除日期(我的意思是已经上传的图像仍然显示日期)