Unable to edit pages or posts from top Admin toolbar after changing to new theme
-
Hello!
Due to some (suspected) conflict between my theme and ip-geo-block, I cannot edit posts and pages on my site from the top WordPress Admin Toolbar.
Here’s what happens:
1) I view a post or page outside of /wp-admin/.
2) I go to the top WordPress Admin Toolbar and click the “Edit” link
3) It takes me to the URL /post.php?post={postID here}&action=edit, which gives me the error I set for when something is blocked by ip-geo-block.However, I can still access posts/pages within /wp-admin/ (as well as the rest of /wp-admin/) absolutely fine. I suspect the issue is because that the ip-geo-block authorization URL variable/token somehow isn’t automatically being passed through to the “Edit” link in my toolbar.
For comparison, I can successfully access post/page editing if my URL looks like this: /post.php?post={postID here}&action=edit&ip-geo-block-auth-nonce={IP geo block token here} — and this is the case for navigating to post/page editing within /wp-admin/.
I suspect that there’s something wrong with the theme I just installed that’s preventing the token/corresponding URL variable from appearing in the Admin Toolbar. I say this because I’ve already gone through a process of elimination where changing to different themes means this issue no longer occurs.
Does anyone know what might be up with my theme/what area of the code I should focus on in order to get the token/URL variable to show up again? Thanks in advance!
The topic ‘Unable to edit pages or posts from top Admin toolbar after changing to new theme’ is closed to new replies.