WordPress 4.8 新增了几个媒体小工具,其中一个就是“图像”小工具。最近有朋友反馈说,这个图像小工具只能添加标题和图片,没办法添加链接和文字啊。为此,倡萌专门测试了下,其实,它是支持添加链接和说明文字的,只是隐藏了设置选项罢了。
在外观 – 小工具 中,添加图像小工具到任何侧边栏,上传了一个图片:

点击“编辑图像”按钮,即可打开设置选项:

如上图所示,可以设置链接目标等信息,自己折腾看看吧!
来源:
https://www.wpdaxue.com/widget-media-image.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_32942.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57