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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/query.php | |
*/ | |
$args = array( |
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
function remove_woo_styles_on_tribe_admin_screen(){ | |
global $current_screen; | |
if ( isset($current_screen->post_type) && | |
($current_screen->post_type == 'tribe_events' || $current_screen->id == 'settings_page_tribe-settings') | |
) { | |
wp_deregister_style('woocommerce_admin_styles'); | |
} | |
} | |
add_action( 'admin_enqueue_scripts', 'remove_woo_styles_on_tribe_admin_screen' ); |
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
/* The Grid ---------------------- */ | |
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row.large-collapse .column, | |
.lt-ie9 .row.large-collapse .columns { padding: 0; } | |
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; } | |
.lt-ie9 .row .row.large-collapse { margin: 0; } | |
.lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; } | |
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; } |
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
module.exports = { | |
options: { | |
separator: ';' | |
}, | |
dist: { | |
src: ['src/**/*.js'], | |
dest: 'dist/<%= pkg.name %>.js' | |
} | |
} |
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
// ./Gruntfile.js | |
module.exports = function(grunt) { | |
grunt.loadTasks('hoge'); | |
}; |
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
:nth-child(4n+1) {} /* - For 1, 5, 9, 13...*/ | |
:nth-child(4n-2) {} /* For 2, 6, 10, 14... */ | |
:nth-child(4n-1) {} /* For 3, 7, 11, 15... */ | |
:nth-child(4n) {} /* For 4, 8, 12, 16... */ |
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
// Gravity Forms anchor - disable auto scrolling of forms | |
add_filter("gform_confirmation_anchor", create_function("","return false;")); |
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
<?php | |
/** | |
* Override the output of the submit button on forms, useful for | |
* adding custom classes or other attributes. | |
* | |
* @param string $button An HTML string of the default button | |
* @param array $form An array of form data | |
* @return string $button | |
* | |
* @filter gform_submit_button |
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
.gform_wrapper ul { | |
.list-unstyled(); | |
} | |
.gform_wrapper li { | |
.form-group(); | |
} | |
.gform_wrapper form { | |
margin-bottom: 0; | |
} | |
.gform_wrapper .gfield_label { |
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
<ul id="members" data-role="listview" data-filter="true"> | |
<!-- ... more list items ... --> | |
<li> | |
<a href="detail.html?id=10"> | |
<h3>John Resig</h3> | |
<p><strong>jQuery Core Lead</strong></p> | |
<p>Boston, United States</p> | |
</a> | |
</li> | |
<!-- ... more list items ... --> |
OlderNewer