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
/*! | |
{ | |
"name": "CSS text-stroke", | |
"property": "text-stroke", | |
"caniuse": "css-text-stroke", | |
"tags": ["css"], | |
"knownBugs": ["None"] | |
} | |
!*/ | |
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
// Compensate for the Bootstrap fixed top navigation bar. | |
// | |
// No styleguide reference. | |
body { | |
padding-top: @navbar-height; | |
} | |
// Offset fixed top navigation bar if WordPress admin bar is | |
// visible. |
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: Disable plugins when doing local dev | |
Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ |
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
/** | |
* Capitalises the first letter of term title for display. | |
*/ | |
function capitalise_term_titles( $term_obj ) { | |
$term_obj->name = ucfirst($term_obj->name); | |
return $term_obj; | |
} | |
add_filter( 'get_term', 'capitalise_term_titles' ); |
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
/** | |
* @extends \WC_Email | |
*/ | |
class WC_Custom_Order_Email extends WC_Email { | |
/** | |
* Set email defaults | |
*/ | |
public function __construct() { |
NewerOlder