Site logo

Archived topic

Hooks & Custom HTML Blocks Wrapped in Span when Logged Out

6 replies · Started by Leo on June 10, 2022

Viewing posts 1–7 of 7

I'm trying to add a single div elements with an id to my site. When logged in, both custom hooks and HTML blocks work fine. When logged out, the divs are converted to a spans.

E.g.
<div></div>
Converted to
<span id="xxx"></span>

Please advise. Thank you!

Hello, Leo :). Not often do I get to say that!

Sent over the appropriate information. Thanks!

Hi Leo,
I was able to find a workaround. You'll see that I updated the page with the hook to one of our lesser trafficked pages. It's a non-issue for us now but I didn't want to close it out just in case it's a bug.

Let me know how you would like to handle this. Thank you!

Hi there,

the Theme doesn't do any kind of string replacement especially not custom HTML that is added to your content, whether that be in a hook or not.

Have you checked with Ezoic? As there scripts do replace HTML

Hi David, thanks for the reply. I'm assuming that's the case. Thank you!

Let us know how you get on

This archived topic is closed to new replies.