$ency_args = array(
'taxonomy'   => 'mycategory',
'orderby'    => 'name',
'order'      => 'ASC',
'hide_empty' => false,
'posts_per_page'    => 6,

how can i set the limit of showing of taxonomies in this situation, because post_per_page doesn't work? I want to show by default 6 taxonomies.

  • Use 'number' => 6 instead of posts_per_page and check Commented Feb 5, 2019 at 14:13
  • You trying to show 6 posts from the taxonomy called "mycategory"?
    – wharfdale
    Commented Feb 5, 2019 at 15:06
  • See my answer here if that is the answer you are looking for give it an up-vote also please.
    – Charles
    Commented Feb 5, 2019 at 16:18


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.