l' => esc_html__( 'Alignment', 'elementor-pro' ),
'type' => Controls_Manager::CHOOSE,
'options' => [
'start' => [
'title' => esc_html__( 'Start', 'elementor-pro' ),
'icon' => 'eicon-text-align-left',
],
'center' => [
'title' => esc_html__( 'Center', 'elementor-pro' ),
'icon' => 'eicon-text-align-center',
],
'end' => [
'title' => esc_html__( 'End', 'elementor-pro' ),
'icon' => 'eicon-text-align-right',
],
'justify' => [
'title' => esc_html__( 'Justified', 'elementor-pro' ),
'icon' => 'eicon-text-align-justify',
],
],
'default' => 'center',
'condition' => [
'pagination_type' => 'load_more_on_click',
],
'selectors' => [
'{{WRAPPER}}' => '{{VALUE}}',
],
'selectors_dictionary' => [
'start' => '--load-more-button-align: start;',
'center' => '--load-more-button-align: center;',
'end' => '--load-more-button-align: end;',
'justify' => '--load-more-button-width: 100%;',
],
]
);
$this->end_injection();
// Remove the HTML Entity arrows inherited from the Posts widget from the prev/next pagination link labels.
$this->update_control(
'pagination_prev_label',
[
'default' => esc_html__( 'Previous', 'elementor-pro' ),
]
);
$this->update_control(
'pagination_next_label',
[
'default' => esc_html__( 'Next', 'elementor-pro' ),
]
);
}
protected function register_design_layout_controls() {}
protected function register_design_navigation_controls() {}
protected function register_design_pagination_controls() {}
public function register_settings_section_controls() {}
public function register_navigation_section_controls() {}
public function get_loop_header_widget_classes(): array {
return [];
}
public function render_loop_header() {}
public function render_loop_footer() {}
public function before_skin_render() {}
public function after_skin_render() {}
}