It doesnt matter if i'm logged in as administrator or if i'm visiting the site as a guest.... The following two codes are showing in both situations....
I don't see anything wrong with the code you are using, so I'll need a bit more information.
- How you are testing logins? For example, do you have two different browsers open, like Chrome and Firefox?
- Do you have any other 3rd party plugins enabled? If so, please temporarily disable them and test again.
- Please temporarily activate a default theme like Twenty Seventeen and test again.
- How are you including this code - in the body of a post or page, or in a Content Template, or a Layout Visual Editor cell, etc? Please share a screenshot of your code in place in wp-admin
- Is this available online somewhere I can test?
- Ive tried on different computers and browsers
- I've disabled all plugins
- I've switched themes
- Ive included the code in the body of the page
- Ive entered my condentials @ https://toolset.com/forums/topic/access-not-working-3/
( Find an example @ greatminds.media/access-2 )
When I test this out on a clean site installation using Toolset Starter, I see "Deny Admin" and "All Guest" as a guest and "Allow Admin" and "Deny Guest" as an admin user. See the attached screenshots.
May I take a look at your site's wp-admin area to see if I can understand what is happening? Please provide login credentials in the private reply fields here.
Hi, sorry for ping-pong with Shane but he's out today and I'm back on. I noticed that the webmaster user doesn't have a traditional Administrator or Guest role, so the results here aren't exactly what you're expecting. Please see the attached screenshot.
I take it webmaster is a super admin user? Does the conditional work as expected for the "flywheel" user, a standard "Administrator"?