Home / Learn / How do I add a Tahrikit motion in WordPress or Elementor?

How do I add a Tahrikit motion in WordPress or Elementor?

In WordPress and Elementor there are two ways: paste the code into an HTML element, or embed it with an iframe. The iframe is simpler and safer; direct code is lighter if your site allows scripts.

Steps

  1. Pick the motion and copy either the full code or the embed code (iframe).
  2. In Elementor: drag the "HTML" widget to the spot you want.
  3. In the block editor (Gutenberg): add a "Custom HTML" block.
  4. Paste the code and open the preview.
  5. If scripts get removed: some WordPress roles (such as editors on multisite) cannot post scripts, so use the iframe or ask an admin.
  6. Set the height and check it on mobile.

The code

HTML

<iframe src="https://motion.velloxhq.com/en/embed/11.html" width="560" height="260" style="border:0;max-width:100%" loading="lazy" title="Smooth Eased Metric Counter"></iframe>

Tip: keep pages light: one or two motions above the fold is enough.