问题描述
我正在使用PHP和MysqL进行wordpress项目,并且正在使用Tagify创建一些标签。问题是我想基于用户标签创建动态白名单。标签被保存在wp_postMeta上,所以我认为我可以使用MySQL查询,但没有成功。
这是我正在使用的代码:
<script type="text/javascript">
jQuery(document).ready(function(){
var input = document.querySelector("#keywords"),// init Tagify script on the above inputs
tagify = new Tagify(input,{
enforceWhitelist : false,pattern :'',whitelist: [],blacklist:[],maxTags: 20,dropdown: {
maxItems: 20,classname: "tags-look",enabled: 0,//position: "text",cloSEOnSelect: false,highlightFirst: true
}
})
});
</script>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)