$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 – Pratik Patel Feb 5 at 14:13
  • You trying to show 6 posts from the taxonomy called "mycategory"? – wharfdale Feb 5 at 15:06
  • See my answer here if that is the answer you are looking for give it an up-vote also please. – Charles Feb 5 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.