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
| /** | |
| * Columns Equal Height | |
| * http://css-tricks.com/equal-height-blocks-in-rows/ | |
| * USE: equalHeight(elements); | |
| */ | |
| equalHeight = function(container){ | |
| var currentTallest = 0, | |
| currentRowStart = 0, | |
| rowDivs = new Array(), | |
| $el, |
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 | |
| /** | |
| * Plugin Name: Editor Styles Refresh | |
| * Plugin URI: https://gist.github.com/elusiveunit/f0f728771de6647778fa | |
| * Description: Adds file time query string to theme editor style URLs, to force cache busting when the file is changed. | |
| * Author: Jens Lindberg | |
| * Version: 0.1 | |
| * License: GPL-2.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
| $('form :input').each(function(index, elem) { | |
| var eId = $(elem).attr('id'); | |
| var label = null; | |
| if (eId && (label = $(elem).parents('form').find('label[for='+eId+']')).length === 1) { | |
| $(elem).attr('placeholder', $(label).html()); |