Thread Starter
rimarx
(@rimarx)
I Found problem
Plugin don’t have ajax function for no login users – in “responsive-lightbox/includes/class-galleries.php” need add_action ‘wp_ajax_NOPRIV_rl-get-gallery-page-content’
Anonymous User 14656615
(@anonymized-14656615)
Hello,
looks like you encountered a similar problem to what i’m facing – ajax not being enabled for logget out users.
Did you fix the issue yourself? I see that your website appears to be working as normal now, and I have limited experience with ajax. Could you maybe share the full code for the fix if you did fix it? I Would be forever grateful, as it seems the plugin author doesn’t respond much here.
Thank you in advance!
Thread Starter
rimarx
(@rimarx)
Hi
In plugin file – responsive-lightbox/includes/class-galleries.php
After line – add_action( ‘wp_ajax_rl-get-gallery-page-content’, array( $this, ‘get_gallery_page’ ) );
Try add line – add_action( ‘wp_ajax_nopriv_rl-get-gallery-page-content’, array( $this, ‘get_gallery_page’ ) );
Anonymous User 14656615
(@anonymized-14656615)
Thank you so much – this worked just as I wanted! You are the best 🙂
I’m adding this solution to my topic as well so more people can see it if they encountered the same problem.
Will be fixed in the next release.