Mat_


Member since 09/12/2010

5 snippets

353 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 125 posted 7 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 130 posted 9 years ago by Mat_
1 198 posted 9 years ago by Mat_
« Prev 1 Next »