A lightweight WordPress plugin that creates an elegant animated SVG timeline that responds to scroll position.
Showcase / Installation: German
- Scroll-triggered timeline progression
- Customizable
- Colors
- Both solid + dashed paths
- Adjustable path curvature and positioning
- WordPress 5.0 or higher
- A theme with position: relative on the body element:
body {
position: relative;
}- Upload the plugin files to /wp-content/plugins/nxt-timeline/
- Activate the plugin through the WordPress plugins screen
- Navigate to Settings → Animated Timeline to configure appearance
- Add the svg-target class to elements you want to connect in your timeline
<div class="svg-target">First timeline point</div>
<div class="svg-target">Second timeline point</div>
<div class="svg-target">Third timeline point</div>-
Timeline Stops
- Offset X/Y: Adjust the position of timeline markers
- Element Type: Choose between circle, square, or no markers
- Element Stroke Width: Set the thickness of marker outlines
-
Path Appearance
- Path Style: Solid or dashed line
- Path Width: Thickness of the timeline path
- Path Colors: Separate colors for static and animated portions
- Dash Settings: Customize length and gap for dashed style
-
Path Shape
- Curve Roundness: Control the smoothness of path bends
- Vertical/Horizontal Offset: Adjust path positioning
- Y-Correction: Fine-tune the ending position
Colors can be set using either:
- Direct color values (hex, rgb, rgba)
- CSS Variables for dynamic theming
Using CSS Variables:
:root {
--timeline-color: #25536E;
--marker-color: #6c1300;
}