Support » Plugin: Author Category » Feature request – defined number of avaialable categories

  • Resolved kryvulena


    I have a kind feature request. I wish authors could be able to select ie. 1, 2 or 3 categories from all categories available but no more than 3. If 3 selected, the rest becomes “dimmed” – impossible to select. The number of categories available per author could be set up in the plugin settings. What about that?

Viewing 1 replies (of 1 total)
  • Plugin Author Bainternet


    Not really the functionality of this plugin but you can do that with this simple jQuery snippet

    function limit_category_selection_count(){
    	$limit = 2; //change this to the number you want to limit
    	<script type="text/javascript">
    		$("input[type=checkbox][name^='post_category']").click(function() {
    		    var bol = $("input[type=checkbox][name^='post_category']:checked").length >= <?pphp echo $limit; ?>;
Viewing 1 replies (of 1 total)
  • The topic ‘Feature request – defined number of avaialable categories’ is closed to new replies.