This way you can make a private listing
function posts_kind($query){
// page id 4173 show
if(is_page('4173')){
// category id 1 show
$query->set('cat', 1);
return $query;
}
}
add_action('pre_get_posts','posts_kind');
This way you can make a private listing
function posts_kind($query){
// page id 4173 show
if(is_page('4173')){
// category id 1 show
$query->set('cat', 1);
return $query;
}
}
add_action('pre_get_posts','posts_kind');