如何添加图片到WordPress而不用上传到后端?

我正在尝试在博客的设计中添加图片, 并且将其编写为:

<img src="<?=TEMPLATEPATH; ?>/style/images/maskot.png" />

它不会显示, 并且我已确保链接正确。我做错了什么?


#1


我将查看源代码并查看src指向的内容。

你可以通过查看输出来修改路径。

来源:

https://www.srcmini02.com/65231.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41038.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?