Skip to content

How to Add Interval Shake Animation to WordPress Button?

Key Takeaways

  • Nexter Blocks adds Interval Shake to the free Advanced Button block, and it works in Nexter Blocks free and with Nexter Blocks Pro.
  • Advanced Button uses the Style tab’s Extra Options to turn on Interval Shake, with Duration(s) set in seconds and a default of 5.
  • Interval Shake plays automatically on page load, repeats over and over without hover, and never stops while the page is open.
Table of Contents

A button that gives a short shake every few seconds pulls the eye to your most important action.

The free Advanced Button block in Nexter Blocks adds this with Interval Shake.

For every Advanced Button setting in one place, see the Advanced Button block guide.

Before You Start

  • Edition: Free — works in Nexter Blocks (free) and with Nexter Blocks Pro.
  • Block to enable: Advanced Button, switched on under Nexter > Blocks in your WordPress dashboard.

Steps

  1. Add the Advanced Button block, pick a style and type the button text.
  1. On the Style tab, open Extra Options and turn on Interval Shake.
Extra Options with Interval Shake turned on and the Duration field
  1. Set Duration(s) in seconds. The default is 5. Save.
A button configured with interval shake

How It Behaves

  • The shake plays on its own, over and over, as soon as the page loads. No hover is needed.
  • Duration(s) is the length of one animation cycle, so a lower value makes the shake repeat more often.

Limitations

  • The animation never stops while the page is open. Use it on one key button per page.
  • Constant motion can bother some visitors.

Troubleshooting

The button shakes too often

Raise Duration(s), for example to 8.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!