[WordPress] 外掛分享: Classifiers

前言介紹

  • 這款 WordPress 外掛「Classifiers」是 2015-08-17 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-09-17,距離現在已有 3516 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

taaviaasver |

外掛標籤

html | select | classify | classifier | classifiers |

內容簡介

這個外掛是為了主題開發者而設計的。
它會添加一個新的管理員頁面"Classifiers",在這裡您可以定義您的分類器和分類。

例如:您的站點用戶需要選擇他們喜歡的顏色。
1.) 定義分類器類別 “color”
2.) 定義分類器: “black”,“blue”等。

在您的模板中顯示這些選項:
$cm = new ClassifierManager();
print_r($cm->getClassifiers(1));
或者使用 AJAX:
$http({
method: “POST”,
url: $scope.ajaxurl,
params: {
“action”: “wpc_ajax_getclassifiers”,
“security”: $scope.nonce,
“category”: 1
}
}).success( function( data ) {
//進行某些操作..
});

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Classifiers」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon