Skip to content

Commit

Permalink
Dynamic Gallery: Notice added for posts per page
Browse files Browse the repository at this point in the history
  • Loading branch information
jakaria-istauk committed Aug 22, 2024
1 parent 27f3e19 commit 27943a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions includes/Traits/Controls.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,21 @@ public static function query($wb)
]
);

if ( 'eael-dynamic-filterable-gallery' === $wb->get_name() ) {
$wb->add_control(
'eael_acf_important_note',
[
'label' => '',
'type' => Controls_Manager::RAW_HTML,
'raw' => esc_html__( 'Given number of posts will be fetched along with their ACF gallery items', 'essential-addons-for-elementor-lite' ),
'content_classes' => 'elementor-descriptor',
'condition' => [
'fetch_acf_image_gallery' => 'yes'
]
]
);
}

$wb->add_control(
'offset',
[
Expand Down

0 comments on commit 27943a9

Please sign in to comment.