Within an <ion-scroll>, this directive creates sticky item headers that get bumped out of the way by the next item.
Demo: http://cl.ly/2u2X390s0H1a
Requirements:
- Needs UnderscoreJS for its
_.throttleutility. - Must be used within an
or
Within an <ion-scroll>, this directive creates sticky item headers that get bumped out of the way by the next item.
Demo: http://cl.ly/2u2X390s0H1a
Requirements:
_.throttle utility.or| module.exports = function(grunt) { | |
| require('load-grunt-tasks')(grunt); | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| makepot: { | |
| target: { |
| <?php | |
| /* | |
| * Plugin Name: Oh noes, not another SEO plugin! | |
| * License: GPLv3 http://www.gnu.org/copyleft/gpl.html | |
| */ | |
| add_filter( 'wp_title', function( $title ) { | |
| if ( is_singular() ) $title .= ' — ' . get_bloginfo( 'name' ); | |
| if ( is_archive() ) $title = sprintf( ' Archives: %s — %s', $title, get_bloginfo( 'name' ) ); | |
| if ( is_home() ) $title = sprintf( '%s — %s', get_bloginfo( 'name' ), get_bloginfo( 'description' ) ); | |
| if ( is_search() ) $title = sprintf( 'Searching for: %s — %s', get_search_query( true ), get_bloginfo( 'description' ) ); |
| <?php | |
| /** | |
| * WordPress Chosen Taxonomy Metabox | |
| * Author: Helen Hou-Sandi | |
| * | |
| * Use Chosen for a replacement taxonomy metabox in WordPress | |
| * Useful for taxonomies that aren't changed much on the fly and are | |
| * non-hierarchical in nature, as Chosen is for flat selection only. | |
| * You can always use the taxonomy admin screen to add/edit taxonomy terms. | |
| * Categories need slightly different treatment from the rest in order to |
| /* | |
| * Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
| * Better handling of scripts without supplied ids. | |
| * | |
| * N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
| */ | |
| (function(doc, script) { | |
| var js, | |
| fjs = doc.getElementsByTagName(script)[0], |