Timeline for How to correctly call custom field dates into a posts_where filter using SQL statements
Current License: CC BY-SA 2.5
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 28, 2012 at 13:21 | answer | added | Robert Isaev | timeline score: 4 | |
Dec 21, 2010 at 16:17 | vote | accept | maduroblanco | ||
Dec 17, 2010 at 21:11 | answer | added | maduroblanco | timeline score: 7 | |
Dec 17, 2010 at 20:43 | comment | added | onetrickpony |
try $where .= " AND (($wpdb->postmeta.meta_key = 'original_date' AND $wpdb->postmeta.meta_value >= '2000-01-01') AND ($wpdb->postmeta.meta_key = 'original_date' AND $wpdb->postmeta.meta_value <= '2004-12-31')) ";
|
|
Dec 17, 2010 at 19:01 | history | edited | maduroblanco | CC BY-SA 2.5 |
edited title
|
Dec 17, 2010 at 17:27 | history | asked | maduroblanco | CC BY-SA 2.5 |