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
/*--------------------------------------------------*/ | |
/* remove byline from page */ | |
/*--------------------------------------------------*/ | |
function custom_body_class($classes) { | |
if (is_page()) { | |
$classes[] .= 'hide_meta'; | |
} | |
return $classes; |
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
blockquote a:before { | |
content:"\f099"; | |
font-family: FontAwesome; | |
margin-left: 10px; | |
} |
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
define('WP_HOME','http://example.com'); | |
define('WP_SITEURL','http://example.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
<a href="<?php bloginfo( 'url' ); ?>/path" title=""> |
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
/* ========================================================================== | |
Move nav below header | |
========================================================================== */ | |
remove_action('thesis_hook_before_header', 'thesis_nav_menu'); | |
add_action('thesis_hook_after_header', 'thesis_nav_menu'); |
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
/* ========================================================================== | |
Custom header logo | |
========================================================================== */ | |
function custom_header() { ?> | |
<a href="/"><img src="/media/image.jpg" alt="alt text"></a> | |
<?php | |
} | |
remove_action('thesis_hook_header', 'thesis_default_header'); |
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
label { | |
font-weight: 400; | |
} | |
label p { | |
margin-top: -40px; | |
margin-left: 40px; | |
} | |
input[type="checkbox"] { |
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
var ua = navigator.userAgent; | |
if( ua.indexOf("Android") >= 0 ) | |
{ | |
var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8)); | |
if (androidversion < 2.3) | |
{ | |
$('.class').css('display','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
/* ========================================================================== | |
Register image sizes | |
========================================================================== */ | |
if ( function_exists( 'add_image_size' ) ) { | |
add_image_size( 'blog-featured', 940, 330, true ); // cropped | |
add_image_size( 'testimonial-thumb', 100, 100, false ); // not cropped | |
} | |
OlderNewer