Using https://developer.mozilla.org/en/docs/Web/HTML/Element/Input#Attributes as reference
color
date
datetime
datetime-local
Using https://developer.mozilla.org/en/docs/Web/HTML/Element/Input#Attributes as reference
color
date
datetime
datetime-local
<?php | |
function my_searchwp_limit_to_post_type( $clause, $engine ) { | |
global $wpdb; | |
if ( isset( $_GET['post_type'] ) ) { | |
$post_type = sanitize_text_field( $_GET['post_type'] ); | |
if ( post_type_exists( $post_type ) ) { | |
$clause = $wpdb->prepare( "AND {$wpdb->prefix}posts.post_type = %s", $post_type ); | |
} |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Welcome!
UPDATE: This list is no longer maintained. I've moved it to its own repo so you can send suggestions as Pull Requests. https://github.com/dideler/bootstrapping/
For feedback or suggestions, please send a tweet (@dideler). Gist comments don't notify me. Pull requests aren't possible with gists (yet), so I don't recommend forking because then I can't easily get the change.
Starring this gist will give me an idea of how many people consider this list useful.
/* | |
Following this suggestion by @aral: | |
https://twitter.com/#!/aral/status/161833507423916032 and | |
https://twitter.com/#!/aral/status/161833979736096769 | |
I realised that a CSS Pre-processor could help save some time here if you | |
use the same values for px and rem. | |
This works in SCSS: | |
*/ |