{"id":338196,"date":"2026-07-15T18:02:48","date_gmt":"2026-07-15T18:02:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gredich-smooth-scroll-with-lenis\/"},"modified":"2026-07-15T18:02:34","modified_gmt":"2026-07-15T18:02:34","slug":"gredich-smooth-scroll","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/gredich-smooth-scroll\/","author":23530270,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.1","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Gredich Smooth Scroll","header_author":"Gredich","header_description":"Adds Lenis library for smooth scrolling with GSAP integration, element exclusions, and auto nested scroll detection","assets_banners_color":"","last_updated":"2026-07-15 18:02:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/gredich.com\/?utm_source=wp-plugin&utm_medium=referral&utm_campaign=gredich-smooth-scroll&utm_content=author-link","rating":0,"author_block_rating":0,"active_installs":0,"downloads":28,"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":"gredich","date":"2026-07-15 18:02:34"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3609283,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3609283,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[228776,790,1252,17605,8500],"plugin_category":[],"plugin_contributors":[271748,271747],"plugin_business_model":[],"class_list":["post-338196","plugin","type-plugin","status-publish","hentry","plugin_tags-lenis","plugin_tags-scroll","plugin_tags-scrolling","plugin_tags-smooth","plugin_tags-smooth-scroll","plugin_contributors-diarpu","plugin_contributors-gredich","plugin_committers-gredich"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gredich-smooth-scroll\/assets\/icon-128x128.png?rev=3609283","icon_2x":"https:\/\/ps.w.org\/gredich-smooth-scroll\/assets\/icon-256x256.png?rev=3609283","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds Lenis library for smooth scrolling with a full settings page \u2014 no coding required. Unlike headless wrappers, it includes:<\/p>\n\n<p>Features:\n* GSAP\/ScrollTrigger integration\n* Smooth anchor links with configurable offset\n* Automatic nested scroll detection\n* Exclude specific elements by ID or class\n* Support for both vertical and horizontal scrolling\n* Touch device support with adjustable sensitivity\n* Easy-to-use settings page<\/p>\n\n<h3>Development<\/h3>\n\n<p>Build assets (JS, CSS) are copied from the <code>lenis<\/code> npm package.\nSource code and full development repository available at:\n- Lenis library: https:\/\/github.com\/darkroomengineering\/lenis<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>gredich-smooth-scroll<\/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>Go to Settings &gt; Gredich Smooth Scroll to configure the plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20exclude%20an%20element%20from%20smooth%20scrolling%3F\"><h3>How do I exclude an element from smooth scrolling?<\/h3><\/dt>\n<dd><p>There are two ways:<\/p>\n\n<ol>\n<li><strong>Using data attributes (recommended):<\/strong> Add <code>data-lenis-prevent<\/code> attribute to any HTML element you want to exclude. For finer control, use:<\/li>\n<\/ol>\n\n\n\n\n  Attribute\n  Description\n\n\n\n\n  <code>data-lenis-prevent<\/code>\n  Prevent all smooth scroll events\n\n\n  <code>data-lenis-prevent-wheel<\/code>\n  Prevent wheel events only\n\n\n  <code>data-lenis-prevent-touch<\/code>\n  Prevent touch events only\n\n\n  <code>data-lenis-prevent-vertical<\/code>\n  Prevent vertical scroll events only\n\n\n  <code>data-lenis-prevent-horizontal<\/code>\n  Prevent horizontal scroll events only\n\n\n\n\n<ol>\n<li><strong>Using the settings page:<\/strong> Go to Settings &gt; Gredich Smooth Scroll and add the element's ID or class to the exclusion list.<\/li>\n<\/ol><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20id%20and%20class%20selectors%3F\"><h3>What is the difference between ID and class selectors?<\/h3><\/dt>\n<dd><ul>\n<li>ID selectors start with <code>#<\/code> (e.g., <code>#my-element<\/code>)<\/li>\n<li>Class selectors start with <code>.<\/code> (e.g., <code>.my-class<\/code>)<\/li>\n<\/ul><\/dd>\n<dt id=\"can%20i%20use%20both%20methods%20together%3F\"><h3>Can I use both methods together?<\/h3><\/dt>\n<dd><p>Yes! You can combine data attributes with ID\/class exclusions.<\/p><\/dd>\n<dt id=\"how%20does%20the%20plugin%20handle%20nested%20scroll%20elements%3F\"><h3>How does the plugin handle nested scroll elements?<\/h3><\/dt>\n<dd><p>By default, the plugin automatically detects nested scrollable elements and lets them scroll natively. You can control this behavior from <strong>Settings &gt; Gredich Smooth Scroll<\/strong> using the \"Allow Nested Scroll\" option.<\/p>\n\n<ul>\n<li><strong>Enabled (default):<\/strong> Lenis detects nested scroll containers automatically. Best for most sites.<\/li>\n<li><strong>Disabled:<\/strong> Disable only if you experience performance issues and prefer to manually exclude elements using the data attributes or exclusion list above.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Adds Lenis library for smooth scrolling with GSAP integration, element exclusions, and auto nested scroll detection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/338196","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=338196"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gredich"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=338196"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=338196"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=338196"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=338196"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=338196"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=338196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}