Linux 软件免费装

Classifiers

开发者 taavi.aasver
更新时间 2015年9月17日 14:59
捐献地址: 去捐款
PHP版本: - 及以上
WordPress版本: 4.3.1
版权: GPLv2 or later
版权网址: 版权信息

标签

html select options define classifier static classify classifiers texts

下载

1.0 1.1

详情介绍:

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.. });

安装:

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

屏幕截图:

  • Category list
  • Category view
  • Classifier view

升级注意事项:

1.0 Initial

常见问题:

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.. });

更新日志:

1.1 [17/09/15] 1.0