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
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES |
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
<!--[if !IE]><!--> | |
<script> // If It's not IE (or <IE10) | |
if (/*@cc_on!@*/false) { // If cc_on exists then if (!false) | |
document.documentElement.className+=' ie10'; // Add classname to element | |
} | |
</script> | |
<!--<![endif]--> | |
<!-- |
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(document).ready(function () { | |
if ( jQuery('html').attr('lang') == 'en-US' ) { | |
jQuery('html').addClass('lang-en'); | |
} | |
}); | |
/* CSS */ | |
/* Added class ".lang-en" by jQuery */ | |
.ie6.lang-en .btn-infobox, |
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(qtrans_getLanguage() == "en") : ?> | |
<?php echo do_shortcode( '[contact-form 1 "Contact form 1"]' ) ?> | |
<?php endif ?> | |
<?php if(qtrans_getLanguage() == "fr") : ?> | |
<?php echo do_shortcode( '[contact-form 2 "Contact form 2"]' ) ?> | |
<?php endif ?> | |
<?php if(qtrans_getLanguage() == "nl") : ?> | |
<?php echo do_shortcode( '[contact-form 3 "Contact form 3"]' ) ?> | |
<?php endif ?> |
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
$('h5').prepend("„").append("“"); |
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
/** | |
* Create a shortcode to insert content of a page of specified ID | |
* | |
* @param array attributes of shortcode | |
* @return string $output Content of page specified, if no page id specified output = null | |
*/ | |
function pa_insertPage($atts, $content = null) { | |
// Default output if no pageid given | |
$output = NULL; |
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
/* Add function */ | |
function cn_include_content($pid) { | |
$thepageinquestion = get_post($pid); | |
$content = $thepageinquestion->post_content; | |
$content = apply_filters('the_content', $content); | |
$content = str_replace(']]>', ']]>', $content); | |
echo $content; | |
} | |
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
<a href="#" class="big-link" data-reveal-ajax="true" data-reveal-id="myModal"> | |
Fade and Pop | |
</a> | |
<div id="myModal" class="reveal-modal"> | |
<h1>Reveal Modal Goodness</h1> | |
<p>This is a default modal in all its glory, but any of the styles here can easily be changed in the CSS.</p> | |
<a class="close-reveal-modal x">×</a> | |
<a href="#" class="close-reveal-modal">Link to Close</a> | |
</div> |