wordpress弹出图片插件

主题更新后,将下面的代码粘贴到header.php的head的最后,更改弹出图片的效果

<script type=’text/javascript’ src=’https://www.niehonglei.info/wp-includes/js/jquery.popImage/jquery.popImage.mini.js’></script>
<script type=”text/javascript”>

jQuery(function(){
jQuery(“#primary a img”).parent().popImage();
});
</script>

发表评论

您的电子邮箱地址不会被公开。