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() { |
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 | |
/** Outputs a list of linked article headlines from a Wordpress recent posts RSS feed. */ | |
$simplepie_path = "includes/simplepie/"; // path to SimplePie RSS library | |
$feed_url = 'http://yourblog.com/feed/'; // url of your blog's RSS feed | |
$cache_location = $_SERVER['DOCUMENT_ROOT'] . '/includes/simplepie-cache'; // set cache directory (make sure that the directory exists and that this script can write to it) | |
$max_items = 3; // max feed items to show | |
$first_item = 0; // feed item to start from | |
require_once($simplepie_path.'autoloader.php'); |
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
h1,h2,h3,h4,h5,h6,em,.sok_font{font-family:"switchedonkidsnormal",Arial;text-transform:none;letter-spacing:0px;font-weight:normal;line-height:1.2;color:#fff; -webkit-text-fill-color:#fff;-webkit-text-stroke:1px #000;text-fill-color:#fff;text-stroke:1px #000} |
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"] | |
} | |
!*/ | |
NewerOlder