From: nael Date: Tue, 7 May 2019 14:53:46 +0000 (+0200) Subject: WIP #2685 @6 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=adacb57c8ae60f92ceb2ccc0abb066502e8b3469;p=c6-wordpress.git WIP #2685 @6 --- diff --git a/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php b/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php index 709efd3..98c6c37 100644 --- a/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php +++ b/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php @@ -81,15 +81,15 @@ class Timeline extends Widget_Base 'fields' => [ [ - 'name' => 'title', - 'label' => __('Title', 'cube'), + 'name' => 'year', + 'label' => __('Year', 'cube'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => '', ], [ - 'name' => 'subtitle', - 'label' => __('subtitle', 'cube'), + 'name' => 'title', + 'label' => __('Title', 'cube'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => '', @@ -110,7 +110,7 @@ class Timeline extends Widget_Base ], ], - 'title_field' => '{{{ title }}}', + 'title_field' => '{{{ year }}}', ] ); @@ -134,7 +134,7 @@ class Timeline extends Widget_Base $res .= '