if ( false === ( $results = get_transient( 'transient_key_name' ) ) ) {
$results = ...; // Do the slow query to get the results here
// 60 * 60 is the expiration in seconds - in this case, 3600 seconds (1 hour)
set_transient( 'transient_key_name', $results, 60 * 60 );
}
php wordpress
<iframe width="100%" height="272" src="http://snipet.teknotit.com/index.php?embed=5afcf90f56ada" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 17/05/2018