CMS Mastering Development Wordpress

set transient for wp_query and refresh it after 25 minutes

As I have a auto feed website and I decide to use transient for improving website loading So I have a wp_query and I want to use transient for this query and expire it after 25 minutes <ul> <?php $portfolio = new WP_Query(array( ‘post_status’ =>’publish’, ‘post_type’ =>’post’, ‘fields’ => ‘ids’, ‘cat’ =>”.$link1.”, ‘posts_per_page’ =>’9′ )); […]