Beskrivning
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..
});
Installation
- Upload
classifiersfolder to the/wp-content/plugins/directory - Activate the plugin through the ’Plugins’ menu in WordPress
Vanliga frågor
- 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..
});
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Classifiers” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Classifiers” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1 [17/09/15]
- New feature: Change classifier positions
1.0
- Initial


