该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Classifiers

描述

This plugin is meant for theme developers.
It adds a new admin side page Classifiers, where you can define your classifiers and categories.

Example: Your site user needs to select her favorite color.
1.) Define classifier category ‘color’
2.) Define classifiers: ‘black’, ‘blue’ etc.

Displaying these options in your template:
$cm = new ClassifierManager();
print_r($cm->getClassifiers(1));
OR AJAX:
$http({
method: ‘POST’,
url: $scope.ajaxurl,
params: {
‘action’: ‘wpc_ajax_getclassifiers’,
‘security’: $scope.nonce,
‘category’ : 1
}
}).success( function( data ) {
//do something..
});

屏幕截图

  • Category list
  • Category view
  • Classifier view

安装

  1. Upload classifiers folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

What does this plugin do?

This plugin adds a new admin side page Classifiers.
There you can define your classifiers and categories.

Example: Your site user needs to select her favorite color.
1.) Define classifier category ‘color’
2.) Define classifiers: ‘black’, ‘blue’ etc.
3.) Display these options in your template:
$cm = new ClassifierManager();
print_r($cm->getClassifiers(1));
OR AJAX:
$http({
method: ‘POST’,
url: $scope.ajaxurl,
params: {
‘action’: ‘wpc_ajax_getclassifiers’,
‘security’: $scope.nonce,
‘category’ : 1
}
}).success( function( data ) {
//do something..
});

评价

此插件暂无评价。

贡献者及开发者

“Classifiers” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Classifiers”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1 [17/09/15]

  • New feature: Change classifier positions

1.0

  • Initial