Skip to main content

All Questions

Tagged with
0 votes
1 answer
566 views

add class to element if user is not logged in [closed]

Please help . I need to add class to this button if user is not logged in <?php echo apply_filters( 'my_order_html', '<button type="submit" class="ADD-CLASS-HERE cfw-primary-btn ...
Teymur Abbasov's user avatar
0 votes
0 answers
66 views

Unable to execute Ajax request, status code 400

I'm running WordPress Network on Nginx Web Server and I'm facing some issues when any user tries to login. If the user tries to login without any of website earlier login data (cache and cookies), ...
AtomX's user avatar
  • 109
0 votes
1 answer
259 views

Plugin or ways to limit number of users logging in the website,

Would like to check if there is any way (or plugin) available that can: a.limit the number of concurrent users session by of user currently logged in to the website b.limit the number of users logging ...
BBBBB86's user avatar
  • 23
0 votes
0 answers
44 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 ...
wdslatter's user avatar
0 votes
0 answers
83 views

End session screen not close automatically after login

I configured the login screen and the login process for my purposes. but there is an issue I don't know how to solve. after the session ends, there is a pop-up with a login screen called "wp-auth-...
szz's user avatar
  • 1
0 votes
0 answers
175 views

Login issue with subdomain installs

I have two Wordpress instances, both of them have multi-site setups. The issue is: the two instances do not seem to work together in terms of login. I sometimes can't login to the second instance ...
gerky's user avatar
  • 101
0 votes
0 answers
185 views

wordpress login loop and session problem

I have a login problem in the Wordpress Admin panel. First I have the redirect loop wp-admin to wp-login with the param reauth=1. I tried all the suggestions found in the support forums but none of ...
Jihane's user avatar
  • 1
0 votes
0 answers
201 views

Get WordPress logged in username from root domain when WP is installed in a subfolder

Here is my URL structure: http://www.example.com/homepage.php http://www.example.com/wordpress/ Wordpress is installed in a subfolder but I need to get the cookie in homepage.php to check if the ...
456543646346's user avatar
1 vote
1 answer
360 views

Session Experies and Get Logged Out Within Few Minutes

I have wordpress simple blog with few plugins installed. My problem is that after logging and working for few minutes (hardly 2-5 minutes), session expires and I get logged out of the admin area. ...
sanjay ojha's user avatar
-1 votes
1 answer
1k views

Create a Custom Login System in WordPress [closed]

Please I need help with this. I wrote a basic code to create a login form that will validate, retrieve data and display on my dashboard but I have the following challenges: It always displays "...
John Mike's user avatar
1 vote
0 answers
540 views

Share WordPress login info with other PHP app

A customer asked for this feature: website with WordPress website with PHP app where is a login form Request is: "when i login info WordPress I've to be able to share login data with the PHP app so ...
Ivan's user avatar
  • 11
0 votes
1 answer
991 views

how do i change my website facebook login button to another text immediately user login? [closed]

i added a facebook login button to my website, this facebook button work well but even if a user is logged in, the facebook login still shows i need detail help or tutorial link that can help me ...
Samuel Olubayo's user avatar
1 vote
1 answer
3k views

How to get session token of current user in wp_login hook?

I want to get current user's session token in the hook - wp_login. I have tried this code in functions.php: add_action('wp_login','test'); function test() { var_dump(wp_get_session_token()); //...
Faiyaz Alam's user avatar
2 votes
1 answer
7k views

Show menu item only if user is logged In (not word press login)

I am working on a web app word press. I am new to word press So maybe you will feel that this question is silly, I tried everything but i don't want to use any plugin. here is what I need to show the ...
user101081's user avatar
1 vote
1 answer
1k views

External Authentication, session_tokens not destroyed on logout

There are many questions and answers on external authentication and some code prior to WordPress 4.0 need some tweaking to get them to work. For example, adding a fourth parameter to the ...
LPH's user avatar
  • 808

15 30 50 per page