This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS to use FontAwesome icons in place of normal checkboxes and radio buttons. | |
Tested on WordPress, should work most places. */ | |
/* hide the OS/browser checkboxes/radio buttons */ | |
input[type=checkbox], input[type=radio] { | |
visibility: hidden; | |
margin: 0; | |
width: 0!important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WooCommerce Disable Quantity Per Product | |
* Plugin URI: https://gist.github.com/FiddlerStudios/78308937c3550e5d7d26 | |
* Description: Allows you to disable the quantity option on individual products. | |
* Version: 0.2 | |
* Author: Andrew Benbow | |
* Author URI: https://gist.github.com/ChromeOrange | |
*/ | |