跳到内容

Classifiers

v1.1

taavi.aasver · 2015年8月18日 上架

For theme developers. Instead of hard-coding certain texts (selectable options) to your template, make them manageable on the admin side.

正在使用
10+
评分
暂无
累计下载
2,200
最近更新
2015年9月17日
已测试到 4.3.34

贡献者

截图

Category list
Category list
Category view
Category view
Classifier view
Classifier view

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums