Tagged: enfold
Hi,
we’ve created a custom role that’s basically an exact copy of role “subscriber”. The role itself is created correctly and “can read”.
When we visit the page with standard subscriber and use the live-search, all works fine.
When we visit the page with the custom role the live search totally messes up, rendering a whole page in its container.
May you please check this? I’ve added credentials for both usertypes in the private content.
Do this with both users:
Things we’ve tried:
Regards, rup
Hey rup!
We do not limit the ajax search to certain user roles or capabilities. We also use the wp_ajax_nopriv_(action) hook to fire the ajax call for users which are not logged in (and have no capabilities at all – see https://codex.wordpress.org/Plugin_API/Action_Reference/wp_ajax_nopriv_(action) ). I’m not aware of any limitations regarding the capabilities or user role; you can check the code in enfold\functions-enfold.php starting with line 211.
I’d recommend to deactivate all plugins – maybe a plugin blocks the access to the ajax api. If this doesn’t help I’d recommend to stick with the default wordpress user roles or to hire someone to debug the code for you.
Best regards,
Peter
Thank you for your reply. We found the issue, it was a redirect code in custom functions.
*close*
Hi,
Great, glad it works now :)
Best regards,
Dude