【发布时间】:2015-01-12 01:34:02
【问题描述】:
在 Wordpress 中,我有一行代码从 http 加载图像,我希望它从 https 加载它们。
<img class="img_notif" src="<?php the_field('small_img',$post->ID); ?>" />
这是它在页面中的作用:
<img class="img_notif" src="http://www.startupacademy.ro/wp-content/uploads/2013/06/antreprenor-de-succes-mic.jpg" />
如何更改代码以便强制 wordpress 从 https 加载图像?
【问题讨论】: