• Resolved wpmakenorg

    (@wpmakenorg)


    In entries only 5 out of my 8 forms show in filter? Even after sending to one not showing – it does not show up in entries. Any solution? Many thanks Janneke Nijenhuis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sanjeev Aryal

    (@sanzeeb3)

    Hello Janneke,

    Currently, limiting the forms to five is intended behavior to improve the performance. Not just this plugin, but by WordPress core itself if you use get_posts(). Loading all forms might result in slow queries thus resulting in low performance.

    However, you can still override this limit in the next version using the filter hook provided. You just need to pass numberposts with limit as an argument.

    ‘numberposts’
    (int) Total number of posts to retrieve. Is an alias of $posts_per_page in WP_Query. Accepts -1 for all. Default 5.

    Thank You!

    Plugin Author Sanjeev Aryal

    (@sanzeeb3)

    Hello again,

    The limit is now enhanced to 10 forms. If you want more than that please add the following codes in your child theme’s functions.php

    add_filter( 'entries_for_wpforms_query_forms_args', 'wpfe_unlimit_forms_filter' );
    function wpfe_unlimit_forms_filter( $args ) {
         $args['post_per_page'] = -1;
         return $args;
    }

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Entries only showing 5 of 8 forms’ is closed to new replies.