array( 'config' => array( 'moderators' => array( 'config' => array( 'top_text' => __( 'Add Facebook user ID for the people that you will like to moderate the comments.', 'thrive-cb' ), 'add_button_text' => __( 'Add New Moderator', 'thrive-cb' ), 'list_label' => 'ID', 'remove_title' => __( 'Remove Moderator', 'thrive-cb' ), 'list_items' => [], ), 'extends' => 'InputMultiple', ), 'URL' => array( 'config' => array( 'full-width' => true, 'label' => __( 'URL', 'thrive-cb' ), 'placeholder' => 'http://', ), 'extends' => 'LabelInput', ), 'nr_of_comments' => array( 'config' => array( 'default' => '20', 'min' => '1', 'max' => '200', 'label' => __( 'Number of comments', 'thrive-cb' ), 'um' => [], ), 'extends' => 'Slider', ), 'color_scheme' => array( 'config' => array( 'name' => __( 'Color Scheme', 'thrive-cb' ), 'options' => [ [ 'value' => 'light', 'name' => 'Light', ], [ 'value' => 'dark', 'name' => 'Dark', ], ], ), 'extends' => 'Select', ), 'order_by' => array( 'config' => array( 'name' => __( 'Order By', 'thrive-cb' ), 'options' => [ [ 'value' => 'social', 'name' => 'Social Popularity', ], [ 'value' => 'time', 'name' => 'Oldest First', ], [ 'value' => 'reverse_time', 'name' => 'Newest first', ], ], ), 'extends' => 'Select', ), ), ), 'typography' => [ 'hidden' => true ], 'animation' => [ 'hidden' => true ], 'background' => [ 'hidden' => true ], 'shadow' => [ 'hidden' => true ], 'layout' => [ 'disabled_controls' => [ 'Height', 'Width', 'Alignment', 'Overflow', 'ScrollStyle' ] ], ); } /** * Element category that will be displayed in the sidebar * * @return string */ public function category() { return static::get_thrive_advanced_label(); } /** * Element info * * @return string|string[][] */ public function info() { return [ 'instructions' => [ 'type' => 'help', 'url' => 'facebook_comments', 'link' => 'https://help.thrivethemes.com/en/articles/4425808-how-to-add-facebook-disqus-comments-in-thrive-architect', ], ]; } }