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
| function animateTo(location, speed) { | |
| $('html, body').animate({ | |
| scrollTop: location | |
| }, speed); | |
| } |
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
| function placeAfter(element, destination) { | |
| var element = $(element); | |
| element.remove().clone().insertAfter( destination); | |
| } |
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
| // http://www.inteligraphics.ro/2013/06/20/wordpress-wp_query-args-parameters-list/ | |
| $args = array( | |
| //////Author Parameters - Show posts associated with certain author. | |
| 'author' => '1,2,3,' //(int) - use author id [use minus (-) to exclude authors by ID ex. 'author' => '-1,-2,-3,'] | |
| 'author_name' => 'luetkemj', //(string) - use 'user_nicename' (NOT name) | |
| //////Category Parameters - Show posts associated with certain categories. | |
| 'cat' => 5,//(int) - use category id. |
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
| $.fn.exists = function () { | |
| return this.length !== 0; | |
| }; |
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
| gravity_form( | |
| $id_or_title, | |
| $display_title=true, | |
| $display_description=true, | |
| $display_inactive=false, | |
| $field_values=null, | |
| $ajax=false, | |
| $tabindex | |
| ); |
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
| .gform_wrapper { | |
| form .gform_body .ginput_complex input[type=text] { | |
| width:100% !important; | |
| } | |
| input, input[type=text], select, textarea { | |
| width:100% !important; | |
| @include box-sizing(border-box); | |
| } | |
| } |
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
| var $state; | |
| function breakSetup( $breakwidth, $operator, $callback ) { | |
| var w = $(window), | |
| $width = w.width(); | |
| var operators = { | |
| '<' : function( a, b ) { return a < b ; }, | |
| '>' : function( a, b ) { return a > b ; }, | |
| '<=' : function( a, b ) { return a <= b ; }, |
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
| .wrapper { | |
| background-image: url('image.jpg'); | |
| background-repeat: no-repeat; | |
| background-position:center center; | |
| overflow:hidden; | |
| img { | |
| display:block; | |
| opacity:1; | |
| @include transform(scale(1,1)); |
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
| function is_empty(&$val) { | |
| return empty($val) && $val !== "0"; | |
| } |
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
| body.login { | |
| background-color:#efe2d8; | |
| } | |
| body.login div#login p#nav a, | |
| body.login div#login p#backtoblog a { | |
| color:#0c2e53 !important; | |
| text-shadow:none; | |
| } |