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.