{"id":54746,"date":"2017-03-01T18:16:59","date_gmt":"2017-03-01T18:16:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nr-infinite-scroll-posts\/"},"modified":"2025-05-31T07:09:40","modified_gmt":"2025-05-31T07:09:40","slug":"nr-infinite-scroll-posts","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/nr-infinite-scroll-posts\/","author":13854946,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Infinite Scroll Reloaded","header_author":"wpdebugfix","header_description":"","assets_banners_color":"9dbde2","last_updated":"2025-05-31 07:09:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpdebugfix.com","header_author_uri":"https:\/\/wpdebugfix.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1098,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"aceneeraj","date":"2017-03-04 12:40:11"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772X250.jpg":{"filename":"banner-772X250.jpg","revision":3304083,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[221,5908,2110,166,162],"plugin_category":[44,54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-54746","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-infinite-scroll","plugin_tags-load-more","plugin_tags-posts","plugin_tags-widget","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_committers-aceneeraj"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nr-infinite-scroll-posts_9dbde2.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A lightweight plugin to add infinite scroll and load more functionality using a shortcode or widget. Display posts from any post type with flexible settings.<\/p>\n\n<h3>Usage<\/h3>\n\n<p><strong>Shortcode Example:<\/strong><br \/>\n    [infscroll post_type=\"post\" scroll_type=\"loadmore\" view=\"list\"]<\/p>\n\n<p><strong>Parameters:<\/strong><\/p>\n\n<ul>\n<li><p><strong>post_type<\/strong> \u2013 (string) The post type to display. Default: \"post\".<br \/>\nExample: <code>post_type=\"product\"<\/code> to show WooCommerce products.<\/p><\/li>\n<li><p><strong>posts_per_page<\/strong> \u2013 (int) Number of posts to load initially and per scroll. Default: 5.<br \/>\nExample: <code>posts_per_page=\"10\"<\/code><\/p><\/li>\n<li><p><strong>scroll_type<\/strong> \u2013 (string) The scroll behavior. Options:<\/p>\n\n<ul>\n<li><code>\"loadmore\"<\/code> \u2013 Adds a Load More button  <\/li>\n<li><code>\"infinite\"<\/code> \u2013 Loads automatically as the user scrolls<br \/>\nDefault: <code>\"loadmore\"<\/code><\/li>\n<\/ul><\/li>\n<li><p><strong>view<\/strong> \u2013 (string) Display layout. Currently supports:<\/p>\n\n<ul>\n<li><code>\"list\"<\/code> \u2013 Posts appear in a vertical list<br \/>\nDefault: <code>\"list\"<\/code><\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><strong>Example:<\/strong><br \/>\nLoad custom post type with 10 items per scroll:<br \/>\n    [infscroll post_type=\"event\" posts_per_page=\"10\" scroll_type=\"infinite\"]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>infinite-scroll-reloaded<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.  <\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.  <\/li>\n<li>Use the shortcode <code>[infscroll]<\/code> with desired parameters, or add the Infinite Scroll Reloaded widget from the Widgets menu.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20it%20with%20custom%20post%20types%3F'><h3>Can I use it with custom post types?<\/h3><\/dt>\n<dd><p>Yes! Just set the <code>post_type<\/code> attribute in the shortcode to match your custom post type slug.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20any%20theme%3F'><h3>Does it work with any theme?<\/h3><\/dt>\n<dd><p>Yes, but styling may vary depending on your theme's CSS. You can add custom styles if needed.<\/p><\/dd>\n<dt id='can%20i%20override%20the%20plugin%20templates%20in%20my%20theme%3F'><h3>Can I override the plugin templates in my theme?<\/h3><\/dt>\n<dd><p>Yes, Infinite Scroll Reloaded supports template overrides.<\/p>\n\n<p>To customize how posts are displayed, you can override the following template files by copying them into your active theme:<\/p>\n\n<p><strong>1. Loop Template:<\/strong><br \/>\nCopy this file from the plugin:<br \/>\n    wp-content\/plugins\/infinite-scroll-reloaded\/templates\/loop-template.php<br \/>\nPlace it in your theme like this:<br \/>\n    wp-content\/themes\/your-theme\/isr\/loop-template.php<\/p>\n\n<p>This controls the markup for each post item in the list or grid.<\/p>\n\n<p><strong>2. Container Template:<\/strong><br \/>\nCopy from:<br \/>\n    wp-content\/plugins\/infinite-scroll-reloaded\/templates\/container.php<br \/>\nPlace into your theme:<br \/>\n    wp-content\/themes\/your-theme\/isr\/container.php<\/p>\n\n<p>This controls the overall container, including the Load More button or infinite scroll loader.<\/p>\n\n<p>Once copied, you can safely modify these files. The plugin will automatically use your theme's version instead of the default one.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<p>Initial release with shortcode and widget support.<\/p>","raw_excerpt":"A lightweight plugin to add infinite scroll and load more functionality using a shortcode or widget. Display posts from any post type with flexible se &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54746"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aceneeraj"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54746"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54746"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54746"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54746"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54746"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}