After the most recent 2 updates of the Denali theme and the Layout Builder plugin, this other plugin – PHPEnkoder – stopped working on any content built with the Layout Builder.
I first asked the author of PHPEnkoder for help, and here is what he said:
“My guess is that their layout builder isn’t properly running filters, which is how PHP Enkoder finds the emails. The workaround would be to make sure that the layout builder runs filters by calling apply_filters (https://codex.wordpress.org/Function_Reference/apply_filters) at the right point. You might be able to do this with a child theme, but then again you might not… it really depends on how their plugin works.
Maybe the Theme Blvd people can help? The problem is virtually certainly in their code…”
Here you can see it working on a test page in Denali, built without the Layout Builder:
Here you can see it not working on a page built with the Layout Builder:
It used to hide all those emails listed in the blue section below the map — that is how it works on my other sites, in other themes, too.
To be clear: the hiding is done in the source code – not on the page – so whether it’s working or not, the emails are visible on the page. But when it’s working, the emails are hidden in the source code.
If this is not something you can fix within the Layout Builder plugin or the Denali theme, is there any function I could add to my Child Theme to fix it?
- You must be logged in to reply to this topic.