i read but can’t anderstand completely. i must write in function cmth like that:
add_filter('posts_where', 'add_post_parents', 1);
function add_post_parents($where){
$where .= "post_parent = '155' AND post_parent = '165'";
return $where;
}
before my function. but what next i don’t understand( must i write in function:
$the_query = new WP_Query ($where .'&post_type=page&post_parent=104&orderby=rand');
?
just correct me to right side plz. thanks.