I am trying to: make a conditional output in Layouts.
I visited this URL: hidden link
I expected to see: Overlay disapears when this is empty
Instead, I got: the empty overlay or it disapears at all.
the problem is that layouts changes the code after saving.
see my screenshots.
Hello Dido, I see that you are having some trouble using a conditional shortcode in your layout. I'll be happy to help with that today. First, can you verify the setting for "Disable automatic paragraphs" underneath the Visual Editor? I am attaching a screenshot here.
Please check this box, then manually remove the <p> </p> tags that were added around your opening and closing conditional shortcodes. Resave your layout, refresh the page, and check the results. Please let me know the results of this test.
If your conditionals are still not functioning correctly, I may need to log in to your WordPress admin area to see them in place. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still a good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.