Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher Kanitz ckanitz

View GitHub Profile
View class-schema-event-frontpage.php
<?php
/**
* This file houses the class that Extends the Yoast Schema Graph for course events
*
* @package ef/inc
*/
if ( interface_exists( 'WPSEO_Graph_Piece' ) ) {
/**
* The class that extends WPSEO_Graph_Piece to display event schema for courses.
@ckanitz
ckanitz / fontawesome-dictionary.php
Last active May 15, 2017
FontAwesome 4.7.0 PHP-array ( key=> value === sanitized name => class name )
View fontawesome-dictionary.php
<?php
$fa_dictionary = array(
'glass' => 'fa-glass',
'music' => 'fa-music',
'search' => 'fa-search',
'envelope-o' => 'fa-envelope-o',
'heart' => 'fa-heart',
'star' => 'fa-star',
'star-o' => 'fa-star-o',
'user' => 'fa-user',