AI助手支持GPT4.0
This plugin is meant for theme developers.
此插件适用于主题开发人员。
It adds a new admin side page Classifiers, where you can define your classifiers and categories.
它添加了一个新的管理员端页面分类器,您可以在其中定义分类器和类别。 p>
Example: Your site user needs to select her favorite color.
示例:您的网站用户需要选择自己喜欢的颜色。
1.) Define classifier category ‘color’
1.)定义分类器类别“颜色”
2.) Define classifiers: ‘black’, ‘blue’ etc.
2.)定义分类器:“黑色”,“蓝色”等。 p>
Displaying these options in your template:
在模板中显示以下选项:
$cm = new ClassifierManager();
$ cm = new ClassifierManager();
print_r($cm->getClassifiers(1));
print_r($ cm-> getClassifiers(1));
OR AJAX:
或AJAX:
$http({
$ http({
method: ‘POST’,
方法:“ POST”,
url: $scope.ajaxurl,
网址:$ scope.ajaxurl,
params: {
参数:{
‘action’: ‘wpc_ajax_getclassifiers’,
‘action’:‘wpc_ajax_getclassifiers’,
‘security’: $scope.nonce,
‘安全性’:$ scope.nonce,
‘category’ : 1
‘类别’:1
}
}).success( function( data ) {
})。success(function(data){
//do something..
//做点事..
});
}); p>
classifiers
/wp-content/plugins/
classifiers code>文件夹上传到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
ol>
原文出处:http://www.sanshu.cn/a/7390.html
群主管理都是支付大佬