Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Scroll To CK

Beskrivning

Scroll To CK allows you to scroll your page with you links and add a go to top button on scroll.

Features

Add the CSS class ’scrollTo’ to your menu item, or any link in your page to scroll to the desired html ID.

  • Scroll to any element in the page (using its ID)
  • Works on any link, even in any menu
  • Easy to use, just add a css class to the link
  • Option to activate the Go To Top button
  • Custom options for each link (duration and offset)
  • Option to hide the Go To Top button under a custom resolution value

How to use it

The only thing you have to do is to add the CSS class on your links. You can do it in a menu item with the optional field ”CSS class”, or use a link anywhere in your page by adding it the class. Example of a link source code :

<a href=”#idoftheelement” class=”scrollTo” />Go to Section 1</a>

Get more informations and see the demo on https://www.ceikay.com

Installation

  1. Unzip the package scroll-to-ck.zip
  2. Upload the folder scroll-to-ck to the /wp-content/plugins/ directory
  3. Activate the plugin through the ’Plugins’ menu in WordPress

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”Scroll To CK” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Scroll To CK” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1.2

  • Add option to hide the Go To Top button on mobile with a custom resolution value
  • Add data-speed and data-offset attribute options on each link to set custom settings per link

1.1.1

  • Add z-index to avoid the button to be hidden

1.1.0

  • Refactor the code to be used with CeiKay.com

1.0.2

  • Use better method to load inline script
  • Load CSS code in the footer for better SEO / performance

1.0.1

  • Fix PHP warning

1.0.0

  • First issue