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="next_post_link cf"><?php next_post_link('%link', 'Next in category', FALSE); ?></div> |
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
// .THIRD CLASS TO EVERY THIRD ARTICLE | |
var i = 1; | |
$('article').each(function() { | |
if(i++ % 3 == 0) | |
$(this).addClass('third'); | |
}); |
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
/*From http://css-tricks.com/snippets/css/css-hacks-targeting-firefox/*/ | |
@-moz-document url-prefix() { | |
.selector { | |
color:lime; | |
} | |
} |
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 id="tagline"> | |
<div class="container group"> | |
<h2 id=""><span id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Come work with us</span></h2> | |
</div><!-- /end container --> | |
</div> |
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 not "%minimized%"=="" goto :minimized | |
set minimized=true | |
start /min cmd /C "%~dpnx0" | |
goto :EOF | |
:minimized | |
rem Anything after here will run in a minimized window |
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
REM Save this ass sass.bat and starts this at the beginning of the development process | |
REM (c) Jozef Butko | |
CMD /k "cd "c:\xampp\htdocs\wp\wp-content\themes\portfolio\library\" & sass --watch --sourcemap scss/style.scss:css/style.css" |
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
@mixin center-block { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
// http://web-design-weekly.com/blog/2013/05/12/handy-sass-mixins/ |
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
/* | |
Mixin for consistent top/bottom margin, default 64px | |
Usage: | |
@include margin(top, 2); | |
Result: margin-top: 32px; | |
(C) Jozef Butko | |
*/ |
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
// install matchdep | |
npm install matchdep --save-dev | |
// and insert this into gruntfile.js | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); |
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
// rename tasks | |
grunt.renameTask('rsync', 'deploy'); |