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

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

    (@nsp-code)

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

    Hi,
    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 :)!

    BR,
    M

    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!!!

    @pescadito01
    Nice man!! Big thanks!!

    @pescadito01
    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.