manoj317
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Thank for your Suggestion!
i tried below jQuery code its works for me
jQuery(document).ready(function ($) {
$(document).on('pumAfterOpen', function () {
let checkSuccess = setInterval(function () {
if ($('.forminator-success').is(':visible')) {
clearInterval(checkSuccess); // Stop checking
setTimeout(function () {
PUM.close(2222); // Close popup
}, 2000); // Delay closing by 2 seconds
}
}, 500); // Check every 500ms
// Clear interval when popup closes to avoid multiple checks
$(document).on('pumBeforeClose', function () {
clearInterval(checkSuccess);
});
});
});Thank for Suggestion!
i tried below jQuery code its works for me
jQuery(document).ready(function ($) {
$(document).on('pumAfterOpen', function () {
let checkSuccess = setInterval(function () {
if ($('.forminator-success').is(':visible')) {
clearInterval(checkSuccess); // Stop checking
setTimeout(function () {
PUM.close(2222); // Close popup
}, 2000); // Delay closing by 2 seconds
}
}, 500); // Check every 500ms
// Clear interval when popup closes to avoid multiple checks
$(document).on('pumBeforeClose', function () {
clearInterval(checkSuccess);
});
});
});- This reply was modified 3 days, 7 hours ago by manoj317.
Thank you. Elementor updated the plugin today, and my problem has been resolved.
Thank you for quick replay. i checked permalink also still its not working. and i am using free version of plugin.
@amirrezajananfar Thank you. your code works for me.
- This reply was modified 1 month, 3 weeks ago by manoj317.
Thank you!
Thank you for your reply. Using ChatGPT, I changed the code in the
design-2.php
file. Below, I am sharing the code with you.if( $show_content ) { ?>
<div class="psac-post-content">
<!-- Displaying the post excerpt with HTML tags allowed -->
<div class="psac-post-short-content"><?php echo wp_kses_post( get_the_excerpt() ); ?></div>
<?php if( $show_read_more ) { ?>
<a href="<?php echo esc_url( $post_link ); ?>" class="psac-readmorebtn"><?php esc_html_e('Read More', 'post-slider-and-carousel'); ?></a>
<?php } ?>
</div>
<?php }Also, I’m stuck with the plugin’s new version, as the code will be removed. Is it possible to provide a hook or filter code so that I can overwrite it via
functions.php
instead of updating the code in the plugin file directly?
Viewing 7 replies - 1 through 7 (of 7 total)