- paste the widget folder in the theme-folder/elementor/widgets
- open the “ff-elementor-widgets.php” file on the theme-folder/elementor
- add the file directory to the files array > ‘ff-custom-timeline/custom-timeline.php’, //(click screenshot below)
- add the widget class to the widget_classes > new Widgets\FF_Custom_Timeline(), //(click screenshot below)
- register/enqueue the js and css files //(click screenshot below)
wp_register_script( ‘custom-timeline’, $this->dir .’ff-custom-timeline/js/custom-timeline.js’, [ ‘jquery’ ], null, true );
wp_register_style( ‘custom-timeline’, $this->dir .’ff-custom-timeline/css/custom-timeline.css’ );
Reference Site: https://currumbinvalle.wpenginepowered.com/our-story/
Widget Created by: Ali/LM

