This file contains hidden or 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
<link href='http://fonts.googleapis.com/css?family=Tinos:400italic|Gudea:400,700,400italic' rel='stylesheet' type='text/css'> |
This file contains hidden or 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 | |
if ( ! function_exists('custom_post_type_blog') ) { | |
// Register Custom Post Type | |
function custom_post_type_blog() { | |
$labels = array( | |
'name' => _x( 'Blogs', 'Post Type General Name', '' ), | |
'singular_name' => _x( 'Blog', 'Post Type Singular Name', '' ), | |
'menu_name' => __( 'Blog', '' ), | |
'parent_item_colon' => __( '', '' ), |
This file contains hidden or 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
jQuery(".your-container").fitVids({ customSelector: "iframe[src^='http://www.srf.ch/player']"}); |
This file contains hidden or 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
/** | |
* Adding google fonts only if not on a .loc/.local domain | |
* | |
* This is the proper code to add google fonts | |
* as seen in TwentyTwelve | |
* Code partially from: https://github.com/wearerequired/required-foundation | |
*/ | |
if(strpos(!$_SERVER['SERVER_NAME'], '.loc')){ | |
$protocol = is_ssl() ? 'https' : 'http'; | |
$query_args = array( 'family' => 'Gentium+Book+Basic:400,400italic,700|Open+Sans' ); |
This file contains hidden or 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
/* external links | |
a.external | |
background: url('../images/external_link.png') no-repeat right 0px |
NewerOlder