Hey,
Here:
hidden link
the "load more" button doesn't work if a user isn't logged in, but does work if logged in.
thx!
Okay I can't replicate this on a simple test site with a similar setup. However, the Load More pagination button hack isn't expected to work correctly on all sites:
https://toolset.com/forums/topic/infinite-scroll-load-more-button/
We have a feature request for adding a true "load more" button for infinite scrolling views, and it is gaining traction for an upcoming release. Do you have a staging site set up where we can temporarily deactivate some other plugins and activate a default theme to run additional tests?
Hey c!
Current site is staging, still not on air so you can run tests on it
Thx!
Ido
For some reason, admin-ajax.php requests are being redirected to the dashboard page when the User is logged out. I haven't been able to pin it down to some specific cause yet. Any ideas? I'm still investigating.
Hmmm... the only reason I can think of is this function:
function ts_lockout_dashboard() {
if ( is_admin() && !current_user_can('administrator') ) {
wp_redirect( home_url( '/dashboard/' ) );
die();
}
}
add_action('init', 'ts_lockout_dashboard');
And it's probably it. When I disable it, it works. It's supposed to prevent users from accessing the dashboard. Is there anything wrong in it?
Thanks!
Ok got it. Replaced it with this:
add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && ! current_user_can( 'administrator' ) && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { wp_redirect( home_url() ); exit; } }
Thx!!!