How to Increase The Imports Limit in Feedzy?
đź“ť Note: Feedzy has a default setting that limits the number of imports that can be executed to the most recent 100.
This article presents how to expand the default import limit of the latest 100 entries. With just a few clicks, you'll be able to access a wider range of imports and stay up-to-date with the latest news and content.
- 1
-
Copy this code snippet.
function fz_increase_feedzy_imports_limit( $wp_query ) { $post_type = $wp_query->get( 'post_type' ); if ( 'feedzy_imports' === $post_type ) { $wp_query->set( 'posts_per_page', 999 ); } } add_action( 'pre_get_posts', 'fz_increase_feedzy_imports_limit' );
- 2
-
Paste it into the currently active theme functions.php file.
đź“ťNote: If you paste the code snippet into the plugin's source file, the changes will be lost when you update the plugin. The same thing may happen when you update the theme, this is why we recommend using a child theme.
- 3
-
Save the changes and recreate the scenario to see how it works.
đź’ˇResult