Mat_


Member since 09/12/2010

5 snippets

2190 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

Mat_'s Recent Snippets



« Prev 1 Next »
Snippet to show a simple use of the transient API when querying posts.
0 863 posted 12 years ago by Mat_
First you have to add a custom value with a correct date format. The lines: `AND CAST(wpostmeta.meta_value AS DATE) > '".date("Y-m-d H:i:s")."' AND CAST(wpostmeta.meta_value AS DATE) < '".date("Y-m-d H:i:s", $date2)."' ` are only used to select d...
0 1336 posted 14 years ago by Mat_
1 912 posted 14 years ago by Mat_
« Prev 1 Next »