Embedded Map shows only if Logged In

Hello,

i’m using PRO 1.2.7 on Wordpress 4.9.2
i’m trying to embed a Marine Traffic Map, using their code I found here
in this homepage:
www.collegiocapitanicarloforte.it

The embedding code is as follows:
<script type="text/javascript" src="http://www.marinetraffic.com/js/embed.js"></script>

When i put it in a Text Element, the maps shows correctly when logged in as Admin, while logged-out users see nothing.

I even tried the customizable version of their map:
`

`

It shows the correct map to Admin, while standard viewers see the plain text that’s between the <script> tags.

What am i doing wrong?

Thanks

Hi There,

Thanks for writing in! Can you try placing your code into a Classic Raw Element and should work as I have tested.

Thanks!

It worked!

What is exactly the problem? Are there specific uses i’ll have to avoid with the Text Element 2.0?

Thanks!

Hi again,

Glad it worked. If you need to display simple Text then use Text Element and if you need to add some HTML then use Raw Element.

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.