Questions tagged [login]

Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Top Bar dynamic Login Name disappear

When i login in my website and go to my homepage website, the admin bar and the disappear and the user name disappears too, and this only happens if my website in online. On localhost this bug does ...
0
votes
0answers
14 views

Restricting wordpress login sessions for a web app

I am creating a webgl unity app that sits on a wp site and uses the wp accounts to store data. It works really well, however an issue I have is that currently a user can be logged in on two machines ...
0
votes
2answers
24 views

Lock out all WordPress Administrators except two specific users

I used the snippet below to lock out all administrators and editors except myself if ( is_user_logged_in() ){ $current_user = wp_get_current_user() ; if ( in_array( 'administrator', (array) $...
0
votes
1answer
15 views

animate.style on wp-login.php

I am relatively new to WordPress code and would like to enhance my login page with https://animate.style/ or other jQuery code. Do you think there are any security concerns in doing this? Thanks for ...
1
vote
0answers
15 views

Error thrown. Cannot create references to/from string offsets

I'm trying to access the /wp-admin on my old blog post, but when I try to get to the login page I'm getting an alert that reads as follows: "Error thrown. Cannot create references to/from string ...
0
votes
1answer
33 views

Keep user session with custom implementation of user login

To implement custom user login functionality outside of the wp-admin area, wp_signon() function is the way to go. This function accepts an array which may contain the "remember" key with a ...
1
vote
0answers
14 views

wp-login behind nginx reverse-proxy inaccessible — bad redirect?

i’ve setup WordPress on a local nginx backend instance. the backend url is https://wp.example.com:12345/ it’s served through a frontend, nginx reverse proxy, exposed at a subdir. the frontend url is ...
0
votes
0answers
23 views

How to replace ACTION url from original wordpress login form?

I need to replace the action of original wp-login login form: Instead of <form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', '...
0
votes
0answers
17 views

Allowing duplicating users with same user_login and user_email

I would need a solution that the system would accept duplicates on user_login. I found a plugin for user_email duplicates, but I also need for user_login. Any idea is welcome, Thanks :)
0
votes
1answer
13 views

Input sanitation

I have a question regarding a wordpress site I have recently developed for a client. I have only until now developed a site for small clients that just require personal websites, however this client ...
0
votes
0answers
32 views

jQuery.post returns 0

I'm currently working on a WordPress login popup, which is created as a plugin. I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though ...
0
votes
0answers
21 views

How to redirect a unique link based on login status

I have webstore on woocommerce, and on one of my wordpress pages (that page is not woocommerce page, but just wordpress and it is edited by Colibri free theme) I have download links for some products. ...
0
votes
0answers
7 views

Comments : Having the choice to login or not

So you have these two options in the Admin/Settings/Discussion : The problem: the second checkbox takes over the first one. How can can i leave the choice to either login -or- fill in name/email ? ...
0
votes
0answers
4 views

Keep the old referrer after failed login

I have the following problem that I couldn't find any solution for. I have a simple custom login page, which I've managed to set up, so it redirects to the referred URL the user came from. The problem ...
1
vote
0answers
17 views

What would be the best way to implement Magic Link logins in WordPress?

On the internet I saw several plugins/services offering a kind of a 'magic login' link functionality. This allows users to sign in without a password but with a magic link. That made me wondering: If ...
0
votes
0answers
15 views

Using REST API for custom users registration / login and user profile displaying and search

I'm reading about REST API of wordpress and I want to use it to login and register users. I need to set the user role based on the user choiche and add some information before the registration is done....
1
vote
0answers
13 views

How to save generated JWT token to cookies on login?

I'm developing a Chrome extension and I want my users to authenticate via my WP login page. I configured JWT Authentication for WP Rest API. I want the users to go to my website, login, and then have ...
1
vote
0answers
26 views

v5.6.2 User cannot stay logged in - wordpress_test cookie placed but not auth cookies

Running WordPress v5.6.2 with a simple Members Only function checking is_user_logged_in() and running auth_redirect() - which has worked fine up to now. Pushed upgrade to 5.6.2 and now any browser ...
0
votes
1answer
36 views

How is it possible to current user info on page in WordPress?

I am new at WordPress. I have need to display current user info on page: avatar, name, lastname, login... I have spent several hour on web, but could not find clean solution: How is it possible to do ...
0
votes
2answers
32 views

How to block specific user id in custom login form?

I've been looking for this method for weeks, but still can't find it. There are so many sites that discuss how to create a custom login page, but they don't cover how to block a specific id like the ...
1
vote
2answers
76 views

How can we redirect user from login page to home page if user is logged in WordPress?

I have just installed WordPress locally in my computer and run the website successfully. I want to achieve following: when logged-in user tries to access wp-login.php or register page, it should be ...
0
votes
1answer
25 views

Can't access WordPress as an admin - but I can log in as a user!

Hi I have the following issue: I am the admin of a WordPress/WooCommerce shop that has been around for a while. As of today, when I try to log into Word Press as admin I either don't get access to the ...
0
votes
0answers
19 views

URL Restrictions? Need only people who are logged in AND have a specific role (or roles) to access all pages for a site

I have a site that needs to only allow people who are logged in and have at least one of 3 possible roles to have access to the pages of the site. I'm not new to programming, but am new to both php ...
0
votes
0answers
18 views

Anonymous users can not access website

I have inherited a WordPress shopping website with WooCommerce. Prior to me, retailers used the website to place orders for the items to be sold in their shops. As a result, a forced login was ...
0
votes
1answer
14 views

MAMP localhost wordpress site, not possible to sign in, username and password are correct

I have two sites on my localhost server. The other one has a problem when trying to sign in. The username and password are correct, I can access the PHP my admin and check them from there, so I know ...
0
votes
2answers
44 views

Log out without confirmation request (nonce)

I have a Wordpress site with WooCommerce. I would like to add a Logout option to the Menu that logs out the user without asking for confirmation. So I included a menu custom link with as URL: /my-...
0
votes
0answers
22 views

Wordpress/Woocommerce multisite prevent crosssite login

I want to prevent that users can login the different subsites. for example: user1 can login site1 but not site2 I found out that this is possible when using the wordpres login, but when user1 uses ...
0
votes
0answers
12 views

Trouble when I try to connect to WordPress

I have 1 domain and 1 subdomain. Both have a different wordpress install on it. Once every month, cookies expire and people have to login again. Sometimes, when I and the users try to login, nothing ...
0
votes
0answers
27 views

error when using reCaptcha v2 in wordpress custom login form!

I have been successful to create a custom login form by ajax and reCaptcha v2. every thing is OK but when the user enter incorrect username or password and submit the form, then enter the correct ...
0
votes
1answer
16 views

Help! ERROR: Cookies are blocked due to unexpected output on attempting to login to resolve an issue with my site

First-timer over here! Domain for the buggered website (you'll see what I mean!) http://www.clarkephotographic.co.uk/ URL I am using to try to login to WordPress backend to fix the issue http://www....
0
votes
0answers
16 views

Embed username in wp-login field

I want to automatically display the username in the username field with a url parameter. Something like : https://mywebsite.com/wp-login.php?action=login&log={theusername}
1
vote
1answer
37 views

Login WP - Connect single field to an external api

I made a plugin to allow wordpress login with external api. Everything works, now what I have to do is that when a user logs in for the first time, the plugin checks to see if it is already present on ...
1
vote
1answer
88 views

how to use reCaptcha v3 in wordpress custom login form?

I tried to create a custom login form and custom register form by ajax. I have been successful to make that and you can see my code below for custom login form. the issue is, I need to use reCaptcha ...
0
votes
0answers
25 views

One account with multiple logins

I have searched google and this site and can't seem to find an answer. I would like to be able to add multiple logins for an account. Meaning one account could have several emails and passwords ...
0
votes
0answers
58 views

Ajax login fails: script sets cookies, but is_user_logged_in() returns false

Summary Ajax request to a back-end plugin PHP script successfully logs in the user and sets login cookies in the browser. However, the page making the call fails to recognize those cookies, and ...
0
votes
2answers
27 views

How show login popup to guest only and redirect logged in users?

I have a menu item "Checkout". When clicked it links to the login popup prompting users to register/login/continue as guest and from there to checkout. How can I make that same button ...
1
vote
0answers
15 views

Protect sequence of pages with same password for each of two groups of users

I'm currently creating a home page (learning environment) with wordpress. It should serve for an experimental study with two conditions. Based on the condition a participant will be assigned to, he or ...
0
votes
0answers
19 views

Login issues wordpress page

When my users want to login on my wordpress site, sometimes the process keeps hanging (circle in dots keeps spinning). Sometimes they get a green screen (login ok) and the username isn't showing up. ...
0
votes
0answers
23 views

Logging in directly without a password (not via OTP)

I'm developing a website there the users are going to have access to their own data. I'm gonna use a specific authenticator called BankID which is widely used in Sweden, a kind of extern authenticator ...
0
votes
1answer
11 views

insert a Wordpress page content into a pop up

Is it possible to include a page content into a popup to login users when they click in a specific button ? Thanks
0
votes
1answer
27 views

timeouts (ERR_CONNECTION_RESET) on seemingly random files after upgrading to HTTPS

I have a WordPress site on a managed host (discountasp.net) that has run for several years. A few days ago I upgraded the managed site to use https by installing an SSL certificate (the actual ...
0
votes
2answers
45 views

Login without Password

In Wordpress I need to add a filter where user role subscriber just put his email address in form to login, no need for password, just check if the email is for a subscriber and redirect him to a ...
0
votes
0answers
23 views

Adding “Show/Hide Password” Feature to Custom WordPress Login Page (using Divi Builder)

I'm new to development so am hoping someone can help me out a bit here. I am designing a website using the Divi builder. I built a custom WordPress login page using their login module. However, there ...
0
votes
0answers
20 views

Share login credential with QR code

this is what I would like to achieve, I looked for a plugin but found nothing really good for me. I am creating a site for my wedding day and I want to share it with my guests. My idea is to give each ...
1
vote
1answer
22 views

I want to disable login of admin (/wp-admin) with email and make it accessible only with username

I want to do it as a security precaution. I've already taken other actions. But I want to be able to login only with my admin username. Is there a way to do that or even a plugin?
0
votes
0answers
22 views

how to change the url rediction of the woocommerce login page of the flatsome theme for my own in wordpress?

the objective is to change the login page of my site. I use the flatsome template. In my functions.php file in the flatsome-child folder I created a redirection function <?php // Add custom ...
0
votes
0answers
11 views

email validation for new user registration

Every new registration needs to validate the email to get access to user login. The website was asking only for the email and was sending one email to the user to put his own password. In the ...
0
votes
0answers
14 views

Make an order of products without login

I am trying to create an eshop/site in Wordpress CMS in which I can add products to cart without having to login/register and when I procceed to checkout only an email will notify about the order. Is ...
0
votes
0answers
13 views

wordpress redirects to login page on first access for existing site

I have downloaded wp-content and re-created MySql db from a dump provided by my hosting. By task is to run Wordpress locally to reproduce all steps on how to set it up so that we can deploy it in a ...
0
votes
0answers
17 views

Wordpress member login in Unity or C# or .NET?

I want to make a PC software application where my customers will be able to login into their WordPress account. Is this possible? I am using the Unity engine, and C#. If yes, can you please guide me ...

1
2 3 4 5
30