Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin bar won't appear on front-end #46

Open
jruck opened this issue Dec 10, 2013 · 11 comments
Open

Admin bar won't appear on front-end #46

jruck opened this issue Dec 10, 2013 · 11 comments

Comments

@jruck
Copy link

jruck commented Dec 10, 2013

As long as I keep the site address as mydomain.com/wp, it appears. But once I change it to simply mydomain.com (and keep the WordPress Address as mydomain.com/wp), the Admin bar doesn't appear anymore on the front-end.

Themes that have a built-in gutter for when the admin bar should be displaying continue to show the gutter, just no admin bar. (See attached). I've tested this behavior in a copy of the Twenty Thirteen theme as well.

Anyone else getting this, or have any idea what might be going on?

screen shot 2013-12-10 at 5 53 45 am

@davidosomething
Copy link

Your theme is probably broken somewhere before wp_footer. Check your php errors and server error log.

@jruck
Copy link
Author

jruck commented Dec 10, 2013

Maybe, I'll go through and check again. But I tried it w/ the default Twenty Thirteen theme as well and still no admin bar.

@sebastiaandegeus
Copy link

If you view a page it is also /wp/page-example ?

Check your url settings in settings > general.

it probably has /wp at the end. Remove that and everything will work again like you expect.

@jruck
Copy link
Author

jruck commented Dec 10, 2013

Yeah that's what I'm talking about. When I remove the /wp so that all the
pages are just mydomain.com/page-example, the admin bar goes away. It's as
if there's some logic somewhere that needs to be told either where
WordPress is living, or where the themes are.

On Tuesday, December 10, 2013, Sebastiaan wrote:

If you view a page it is also /wp/page-example ?

Check your url settings in settings > general.

it probably has /wp at the end. Remove that and everything will work again
like you expect.


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-30252411
.

_Justin Ruckman_jruck.us | @jruckman http://twitter.com/jruckman | 704
460 5906

@jruck
Copy link
Author

jruck commented Dec 11, 2013

I tried to recreate the problem on a fresh installation using WP Skeleton and cannot, so it's safe to assume the issue I was having is something specific to that site alone. When I figure out the problem, I'll post it here for reference.

@fahmad91
Copy link

@jruck Did you ever figure out why this was happening? I'm also running into the same issue.

@mathieuhays
Copy link

This issue might happen when you forget to include wp_head() and wp_footer() but it's not relevant to this repo.

@jruck
Copy link
Author

jruck commented Jun 29, 2015

Nope, but I think it was an issue w/ the theme I was using at the time (Satellite). Subsequent themes have not had this issue.

@fahmad91
Copy link

I just tried this with the latest twentyfifteen theme and I'm still getting the same issue. It seems to start happening as soon as I update the Site Address URL to remove the '/wp/'.

capture

@jruck
Copy link
Author

jruck commented Jun 29, 2015

Hm, works for me on some themes, but apparently, like this, not others.

@fahmad91
Copy link

Ok, I just cleared by cache and logged-out and logged-in again.

It working fine now! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants