我想知道任何已知的图像或视频库插件使用外部媒体源,而不必通过 WordPress 媒体库上传。
最坏的情况,是否有一个插件可以执行计划/仅从文件服务器导入更新?
提前致谢!
您可以将以下代码与ImageZone结合使用。 使用 ImageZone,您可以收集外部图像并共享它们,而代码会将它们呈现为 html。代码如下:
// where do you want to add the gallery
<div id="GalleryId"></div>
<style>...</style>
// this is generated by imagezone
<script type="text/json" id="GalleryId">...</script>
<script type="text/javascript">
function setup(gid){
}
setup("GalleryId");
</script>
你可以将其设为 wp 简码