【发布时间】:2013-11-18 16:03:05
【问题描述】:
add_action( 'wp_footer', function () use($uniqueid, $height, $tileheight, $margin) {
echo "<script type='text/javascript'>
jQuery(function () {
jQuery('." . $uniqueid . "').tilesGallery({
responsive: true,
anchorVertical: 'middle',
anchorHorizontal: 'center',
reloadOnResize: true,
captionHeight: '100%',
height: ".$height.",
tileMinHeight: ".$tileheight.",
margin: ".$margin.",
});
});
</script>";
});
你好,
问题是我不能对低于 5.3 的 php 版本使用这个功能。我怎样才能把它变成可以在低于 5.3 的 php 版本中运行的东西?
提前谢谢你!
【问题讨论】: