itaxel
Forum Replies Created
-
Thanks for your recommendations.
For reference, disabling 2FA resolved the issue.
I also attempted to disable the 2FA JavaScript on a specific page using the following code, but it didn’t work. I would definitely prefer to disable 2FA only on a specific page, if possible.
add_action('wp_enqueue_scripts', function() {
if (is_page('MY_LOGIN_PATH')) {
wp_dequeue_script('wordfenceLoginSec');
wp_deregister_script('wordfenceLoginSec');
}
}, 100);Additionally, disabling the CAPTCHA did not work either:
add_filter( 'wordfence_ls_require_captcha', '__return_false' );Thank you for your fast reply.
WooCommerce is not relevant here. I believe that the authentication is handled entirely by LearnPress, since users need to be logged in to access their courses.
On the login/dashboard page, I’m using the
[learn_press_profile]shortcode, which toggles the content dynamically based on the user’s login status.Is there any way to prevent Wordfence from loading on this specific page?
Or what are the other options?Forum: Themes and Templates
In reply to: [OnePress] Onepress multilanguage hompageHi,
I successfully use translatepress-multilingual plugin in combination with polylang for this situation. It works great on my websites.
Good luck!