plugin-icon

Page scroll to id

Создайте ссылки, которые плавно прокручивают страницу до любого ID в документе.
Рейтинги
4.9
Последние изменения
April 17, 2024
Версия
1.7.9
Активные установки
100K
Page scroll to id

Page scroll to id is a fully featured plugin which replaces browser’s «jumping» behavior with a smooth scrolling animation, when links with href value containing # are clicked. It provides all the basic tools and advanced functionality for single-page websites, in-page navigation, back-to-top links etc. with features like:

  • Adjustable scrolling animation duration and easing (over 30 easing types)
  • Link and target highlighting via ready-to-use CSS classes
  • Vertical and/or horizontal scrolling
  • Scrolling from/to different pages (scrolling to target id on page load)
  • Offset scrolling by pixels or element selector with custom expressions
  • Insert link and target id buttons in post visual editor
  • Link-specific offset, scrolling duration, highlight target etc.

Demo (default animation duration/easing, link highlighting etc.)

Plugin resources, links and tutorials

Requirements

Page scroll to id requires WordPress version 3.3 or higher (jQuery version 1.7.0 or higher) and your theme must (and should) have wp_head() and wp_footer() functions. In some Microsoft Windows based web servers some plugins might produce an error 500 (depends on server/PHP configuration). To pinpoint the issue enable debugging in wp-config.php and check wp-content/debug.log file for relevant errors.

GDPR (Общее Положение о Защите Данных)

Плагин соответствует требованиям GDPR. Он не использует и не хранит какую-либо пользовательскую информацию / данные. На самом деле, его функциональность не имеет ничего общего с пользовательскими данными (личными или иными). Вот в чем дело.

Quick usage and tips

  1. Install the plugin.
  2. The plugin is enabled by default on your WordPress Menu links, so you can start adding custom links and set their URL to the id/target you want to scroll to.
  3. Create id targets within your content using plugin’s «Insert Page scroll to id target» button and/or shortcode (see contextual «Help» menu in plugin settings page) in post visual/text editor. Create targets in widgets areas using «Page scroll to id target» widget.
  4. Create links within your content using plugin’s «Insert/edit Page scroll to id link» button and/or shortcode in post visual/text editor. You can also add the class ps2id on any existing link you want to be handled by the plugin.

For more info see plugin’s basic tutorial

Лицензия

MIT

You should have received a copy of the MIT License along with this program. If not, see http://opensource.org/licenses/MIT.

Поддержать разработку

If you like this plugin and find it useful, consider making a donation :).

Plugin previous/other versions

Все версии плагина

Other/external resources

Активные установки
100K
Проверено на
6.5.4
Этот плагин можно скачать и использовать при автономной установке WordPress.