Div or section getting wider as you scroll down
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
<section class="tab-slide"> | |
<div id="tab-slide-pager" class="tab-slide__anchor-wrapper"></div> | |
<div class="cycle-slideshow" | |
data-cycle-fx="fade" | |
data-cycle-pager="#tab-slide-pager" | |
data-cycle-timeout="0" | |
data-cycle-slides="> div" | |
> | |
<?php if( have_rows('repater_field') ): ?> | |
<?php while ( have_rows('repater_field') ) : the_row() ; ?> |
Work in progress - learning from http://codepen.io/rachsmith/post/beginning-with-3d-webgl-pt-1-the-scene
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
//Check what files are going to be ignored | |
git ls-files -ci --exclude-standard | |
//Add those files to git ignore | |
git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached |
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
UPDATE wp_posts SET post_content = replace(post_content, 'http://oldsite.com/','http://newsite.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
@mixin responsive-table($thead-title...) { | |
table { | |
width: 100%; | |
border-collapse: collapse; | |
} | |
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { | |
/* Force table to not be like tables anymore */ |
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
jQuery(function(){ | |
jQuery('select[name="catUrl"]').change(function() { | |
window.location.replace($(this).val()); | |
}); | |
}); |
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 echo get_category_link(icl_object_id(7,'category',false,ICL_LANGUAGE_CODE));?>">Link</a> |