Вопрос

getting posts by cat with get_posts but need to exclude another cat called london or id 10. is this possible?

best, Dc.

//  array(7,-10)
    $laargsM = array('category' => 7, 'posts_per_page'=>300, 'orderby'=>'title', 'order'=>'asc' );
    $la_shapes = get_posts( $laargsM ); 

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с wordpress.stackexchange
scroll top