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
add_theme_support('post-thumbnails'); | |
set_post_thumbnail_size(732, 9999); | |
add_image_size('slideshow', 800, 9999); | |
add_image_size('thumb-pic', 115, 90, TRUE); |
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 | |
function themename_customize_register($wp_customize){ | |
$wp_customize->add_section('themename_color_scheme', array( | |
'title' => __('Color Scheme', 'themename'), | |
'priority' => 120, | |
)); | |
// ============================= |
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 | |
/** | |
* The Reference Links | |
* | |
* Outputs a refrence links list from post meta. | |
* | |
* @return string | |
*/ |
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
$('.add-file').live('click', function(){ | |
formfield = $('#' + $(this).attr('id') + '_field'); | |
// show the thickbox | |
tb_show( $(this).val() , fab_admin_url + 'media-upload.php?post_id=' + fab_post_id + '&type=file&acf_type=file&TB_iframe=1'); | |
return false; | |
}); |
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
#fabfolio_options .inside{ | |
margin:0; | |
} | |
#fabfolio_options .inside >div p{ | |
margin: 0 -10px; | |
padding: 10px 10px 20px; | |
border-bottom: 1px solid #ccc; | |
border-top: 1px solid #fff; | |
} | |
#fabfolio_options .inside >div p:last-child{ |
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
// Mixin | |
.icon(@char){ | |
font-family: 'Pictos Custom'; | |
content: @char; | |
-webkit-font-smoothing: antialiased; | |
text-transform:none; | |
font-size: 1.5em; | |
vertical-align:middle; | |
font-weight: normal; |
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
/** | |
* Is Windows Mobile | |
* | |
* Check to see if the user agent is a Windows Mobile | |
* | |
* @return boolean | |
*/ | |
function is_windows_mobile(){ | |
return strstr($_SERVER['HTTP_USER_AGENT'], 'IEMobile/9.0'); |
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
/** | |
* Is Old Android | |
* | |
* Check to see it the user agent is Android and if so then | |
* check the version number to see if it is lower than 4.0.0 | |
* or passed parameter | |
* | |
* @param string $version | |
* @return boolean | |
*/ |
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
/** | |
* Add Modernizr test for box sizing | |
*/ | |
Modernizr.addTest("boxsizing", function(){ | |
return Modernizr.testAllProps("boxSizing") && (document.documentMode === undefined || document.documentMode > 7); | |
}); | |
/** | |
* Change the width of all elements to account for border-box | |
*/ |
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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Get Mail | |
* | |
* IMAP library for CodeIgniter. Requires Datamapper (http://datamapper.wanwizard.eu/) | |
* | |
* @package Get Mail | |
* @author Web Together (http://webtogether.ie) | |
* @version 0.9 |
OlderNewer