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
# BEGIN WordPress | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# uploaded files | |
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d |
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
<div class="ruka"> | |
<?php if(qtrans_getLanguage()=='SK'): ?> | |
<img src="<?php bloginfo('template_directory') ?>/images/ruka<?php echo get_bloginfo('language') ?>.jpg" alt="sckr logo" /> | |
<?php endif; ?> | |
<?php if(qtrans_getLanguage()=='en'): ?> | |
<img src="<?php bloginfo('template_directory') ?>/images/ruka<?php echo get_bloginfo('language') ?>.png" alt="icgv logo" /> | |
<?php endif; ?> | |
</div><!-- .ruka --> |
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
$(document).ready(function(){ | |
$(window).scroll(function() { | |
$('form').css('top', $(this).scrollTop() + "px"); | |
}); | |
}); |
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
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement) | |
</script> |
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('wpcf7')) { | |
echo do_shortcode( '[contact-form-7 id="413" title="Contact form 1"]' ); | |
} else { | |
echo "<p class='title'>Please install <a href='http://wordpress.org/plugins/contact-form-7/' rel='nofollow'>Contact Form 7</a> plugin and build some contact form. Then use your shortcode on the contact page.</p>"; | |
} | |
?> |
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
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
/* Safari and Chrome */ | |
.flex-direction-nav-featured a{ | |
margin-top: 4%; | |
} | |
/* Safari only override */ | |
::i-block-chrome,.flex-direction-nav-featured a{ | |
margin-top: 5%; | |
} |
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
/***** Selector Hacks ******/ | |
/* IE6 and below */ | |
* html #uno { color: red } | |
/* IE7 */ | |
*:first-child+html #dos { color: red } | |
/* IE7, FF, Saf, Opera */ | |
html>body #tres { color: red } |
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
// HTML | |
<div id="ajaxBusy"></div> | |
// CSS | |
#ajaxBusy { | |
display:none; | |
position: fixed; |
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
$(this).parent('div[class*=status_]'); |
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 ( ! isset( $content_width ) ) | |
$content_width = 600; | |
It's also recommended to add the following CSS to your theme: | |
.size-auto, | |
.size-full, | |
.size-large, | |
.size-medium, | |
.size-thumbnail { |