I have a WordPress website that I recently discovered had this error on the login page:
ERROR: Cookies are blocked due to unexpected output. For help, please
see this documentation or try the support forums.
I can only access ...
I just noticed that on my production site users are not able to login using their usernames (user_login field in wp_users) that are in an email format. So for example a username like john.doe works fine but john.doe@example.com returns the ...
I'm using wp_login_form() to display login form in a jQuery dialog window.
If user enters wrong password, the user is taken to the backend. I don't want that. Is there a way to notify user that he entered wrong password ...
I am trying to disable the right click feature, on the login page, using the following code:
<?php
function disable_right_click() {
?>
<script>
jQuery(document).ready(function(){
jQuery(document).bind("contextmenu",function(e){
return false;
});
});
</script>
<?php
}
add_action('login_footer', 'disable_right_click', 1);
?>
I can see ...
Based on this answer i created a small functionality for users that are logging in for the first 3 times to make some elements classes use css animation. What i am trying to do is to adjust this code ...
I'm just trying to apply some jQuery code to the login page of my website, but none of the hooks I've tried work.
All the hooks I've tried:
//add_action('login_enqueue_scripts', 'my_custom_scripts');
//add_action('wp_head', 'my_custom_scripts');
//add_action('login_head', 'my_custom_scripts');
//add_action('login_header', 'my_custom_scripts');
//add_action('init', 'my_custom_scripts');
//add_action('login_footer', 'my_custom_scripts');
function my_custom_scripts() {
wp_enqueue_script( 'login-redirect-script', get_template_directory_uri() . ...
I'm trying to redirect logged in users to a specific page based on what is in the login url.
For instance, I have added an action parameter to the login url like this:
https://mywebsite.com/wp-login.php?action=ppe
I understand and know how to redirect users ...
my site went down for 1hr. and after then continuously. So I asked my hosting what the problem is with my website. they say I am in under brute force attack. told me to hire someone.
I Limit Login Attempts by ...
I have been using a site for the past few years which I wrote myself in PHP. The site was to create events for people to join and take part in, with different features in them for different events. Some ...
I've successfully changed the login page to a custom url, using this codes:
This one into wp-config.php
define('WP_ADMIN_DIR', 'secret-folder');
define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . WP_ADMIN_DIR);
This one into functions.php
add_filter('site_url', 'wpadmin_filter', 10, 3);
function wpadmin_filter( $url, $path, $orig_scheme ) {
$old = array( "/(wp-admin)/");
$admin_dir = WP_ADMIN_DIR;
$new ...