[wordpress插件] Anchor smooth scroll锚定平滑滚动

wordpress 插件 文章 2020-02-18 07:50 714 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin adds a smooth scroll to the anchors in the WordPress.

此插件为WordPress中的锚点添加了平滑的滚动。

Features

功能

    • Lightweight and fast, no scroll events
    • 轻巧快捷,没有滚动事件

    • Scrolling from/to different pages (scrolling to target id on page load)
    • 在不同页面之间滚动(在页面加载时滚动到目标ID)

    • Offset scrolling by pixels or element css selector
    • 按像素或元素css选择器偏移滚动

    • Adjustable scrolling animation duration
    • 可调整的滚动动画持续时间

    • Possibility to add your own anchor links (via css selector)
    • 可以添加自己的锚链接(通过CSS选择器)

    • Possibility to override default theme anchor behaviour or engage plugin only on page load
    • 可以覆盖默认主题锚点行为或仅在页面加载时使用插件

    • Insert anchor button in the TinyMCE editor
    • 在TinyMCE编辑器中插入锚点按钮

安装步骤

    1. Unzip the downloaded zip file.
    2. 解压缩下载的zip文件。

    3. Upload the plugin folder into the wp-content/plugins/ directory of your WordPress site.
    4. 将插件文件夹上传到WordPress网站的 wp-content / plugins / 目录中。

    5. Activate Anchor smooth scroll from Plugins page
    6. 从插件页面

    7. 激活锚平滑滚动

下载地址
https://downloads.wordpress.org/plugin/anchor-smooth-scroll.1.0.2.zip
-EOF-

AI助手支持GPT4.0