{"id":110,"date":"2018-06-29T13:44:16","date_gmt":"2018-06-29T13:44:16","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/?p=110"},"modified":"2024-10-25T14:12:47","modified_gmt":"2024-10-25T14:12:47","slug":"general-settings","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/","title":{"rendered":"General Settings"},"content":{"rendered":"\n<p>With&nbsp;<strong>YITH Infinite Scrolling<\/strong>, you can show the content of multiple pages on a single page, the pagination will be disabled, and the content will load on the same page with an infinite scrolling effect, so your users will not see that they are loading a new page, but will always stay on the same page.<br>The items are loaded in Ajax and you can enable the scrolling effect on the blog and the shop pages.<\/p>\n\n\n\n<p>The<strong>&nbsp;Premium Version<\/strong>&nbsp;allows you to enable Infinite Scrolling on as many sections as you want.<\/p>\n\n\n\n<p>In the <em>Plugin options<\/em> section from the <em>General Settings<\/em> tab, you can enable and set the sections accordingly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2030\" height=\"1556\" src=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\" alt=\"General settings\" class=\"wp-image-407\" srcset=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png 2030w, https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1-300x230.png 300w, https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1-1024x785.png 1024w, https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1-768x589.png 768w, https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1-1536x1177.png 1536w\" sizes=\"auto, (max-width: 2030px) 100vw, 2030px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Within the same section, you will find the following options:<\/p>\n\n\n\n<p><strong>Enable Infinite Scrolling on mobile devices<\/strong>: Enabling this option will allow your customers to benefit from infinite scrolling on your e-commerce shop through their mobile devices.<\/p>\n\n\n\n<p><strong>Change the URL of the page whenever new items are loaded<\/strong>: By enabling the following option, you can implement a dynamic URL change based on the loaded page. This feature allows users to resume their browsing session from the point at which they left off, even if they navigate back to the main page with infinite scrolling. This is due to the fact that the position is registered when the back button is pressed.<\/p>\n\n\n\n<p><strong>Custom JavaScript<\/strong>: As you can see in the image above, you can add your custom&nbsp;JavaScript code<strong>&nbsp;<\/strong>to the bottom of the&nbsp;<em>General Settings<\/em>&nbsp;page. You can use two plugin triggers:&nbsp;<code>yith_infs_adding_elem<\/code>&nbsp;is triggered before the new elements are appended to the current content, while&nbsp;<code>yith_infs_added_elem<\/code>&nbsp;is triggered after the AJAX call ends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With&nbsp;YITH Infinite Scrolling, you can show the content of multiple pages on a single page, the pagination will be disabled, and the content will load on the same page with an infinite scrolling effect, so your users will not see that they are loading a new page, but will always stay on the same page.The &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">General Settings<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-premium-version-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>General Settings - YITH Infinite Scrolling<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"General Settings - YITH Infinite Scrolling\" \/>\n<meta property=\"og:description\" content=\"With&nbsp;YITH Infinite Scrolling, you can show the content of multiple pages on a single page, the pagination will be disabled, and the content will load on the same page with an infinite scrolling effect, so your users will not see that they are loading a new page, but will always stay on the same page.The &hellip; Continue reading General Settings\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Infinite Scrolling\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-29T13:44:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-25T14:12:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\",\"name\":\"General Settings - YITH Infinite Scrolling\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\",\"datePublished\":\"2018-06-29T13:44:16+00:00\",\"dateModified\":\"2024-10-25T14:12:47+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/\",\"name\":\"YITH Infinite Scrolling\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"General Settings - YITH Infinite Scrolling","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/","og_locale":"en_US","og_type":"article","og_title":"General Settings - YITH Infinite Scrolling","og_description":"With&nbsp;YITH Infinite Scrolling, you can show the content of multiple pages on a single page, the pagination will be disabled, and the content will load on the same page with an infinite scrolling effect, so your users will not see that they are loading a new page, but will always stay on the same page.The &hellip; Continue reading General Settings","og_url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/","og_site_name":"YITH Infinite Scrolling","article_published_time":"2018-06-29T13:44:16+00:00","article_modified_time":"2024-10-25T14:12:47+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/","url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/","name":"General Settings - YITH Infinite Scrolling","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png","datePublished":"2018-06-29T13:44:16+00:00","dateModified":"2024-10-25T14:12:47+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png","contentUrl":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-content\/uploads\/sites\/343\/2018\/06\/General-settings-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/premium-version-settings\/general-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/"},{"@type":"ListItem","position":2,"name":"General Settings"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#website","url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/","name":"YITH Infinite Scrolling","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":17,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/posts\/110\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-infinite-scrolling\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}