public
Created

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6
function wptuts_slider_template( $id ) {
// Query Arguments
$args = array(
'post_type' => 'slides',
'posts_per_page' => 5,
'cat' => $id

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.