Logging in takes a few refreshes to show you are logged in, is this a cache issue? [closed]
Figured it out; it was W3 Total Cache; removed this and no login issues.
Figured it out; it was W3 Total Cache; removed this and no login issues.
You can use the same domain name for your site if you edit your local ‘hosts’ file to point the domain name to the IP address of your local server. That will override DNS lookup for the domain name. I’d first ensure that the wp-options table has the correct URLs (two places). Then I’d temporarily … Read more
Mashable Follow is custom built for Mashable.com, so you won’t find a plugin that brings that level of integration to your WordPress site. That said, there are two that may suit your purpose: Social: Integrates your WordPress site with social networking sites Twitter and Facebook, thereby offering a whole lot of features including—automatically broadcasting posts … Read more
Use the is_user_logged_in() conditional to output a different menu depending on user login state. For example: $theme_location = ( is_user_logged_in() ? ‘header_logged_in’ : ‘header_not_logged_in’ ); wp_nav_menu( array( ‘theme_location’ => $theme_location );
Seems to me you ought to look into your workstation, rather than the code. The page is loading fine 🙂 Chrome: http://screencast.com/t/MczYhpM93 Firefox: http://screencast.com/t/w4261DebfR Safari: http://screencast.com/t/BM4xxMBkq IE: http://screencast.com/t/TVlUlpZXwOB I’m pretty sure Opera will do the same.
Ok the problem has gone. As strangely as it appeared it vanished. I got a call form a client later that day I asked them if they could login, yes they could. I then tried logging in through my phone this was also successful. So the problem seemed to be localised to my computer. I … Read more
Hide wp-login.php but not the widget
Sometimes this issue comes from the servers. If you use weak password for an example, if you use “admin” as a password. Then server want be allowed you to login, you will be blocked by the firewall. So as a option try to use strong password.
How are you currently generating the login URL & handling the redirect? You should simply be using wp_loginout and passing the permalink as the redirect, and let WordPress handle everything else: <?php wp_loginout( get_permalink() ) ?> Or for a more custom implementation: <?php if ( ! is_user_logged_in() ) : ?> <a href=”https://wordpress.stackexchange.com/questions/158728/<?php echo esc_url( wp_login_url( … Read more
Looking at your code (as i do not see any live link to look at). I will assume you are outputting anchor tag inside a button tag (making the HTML invalid). Try the function below instead. Notice that I changed the html from button to anchor tag. /** * Add Login/Logout to Menu */ function … Read more