Support » Plugin: Post Types Order » How to limit number of posts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nsp-code


    Unfortunate this feature is not yet available, we are working for this to be included hopefully in the next version.

    OK, can you make some customization in code to enable that (like option to add number of displayed pages, or something else). I would pay for the effort :)!


    i think this message is related

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /…/public_html/wp-includes/meta.php on line 563

    i have some 3.232 post

    it was!

    for a dirty update, modif post-types-order.php near the end with

    // Query pages.
    $r[‘hierarchical’] = 0;
    $args = array(
    ‘sort_column’ => ‘menu_order’,
    ‘post_type’ => $post_type,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘menu_order’,
    ‘order’ => ‘ASC’,
    ‘posts_per_page’ => 100 // mymodif for 100 first post

    anyway thank nsp for sharing this code!!!

    Nice man!! Big thanks!!

    Nice one, thankyou.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to limit number of posts?’ is closed to new replies.