HTML issue
-
Hello, I am having an issue where I can view HTML when I preview it in the Edit page, but when I publish the page/save it, it appears totally messed up. I am on a free plan, just started my website (I’m moving it over from a paid hosting plan)
The URL is https://traveleuropesmartcom.wordpress.com/europe-travel-calculators/WP.com: Yes
Jetpack: No
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
Edit: I am using Bute theme. I have cleared cache, tried on different browsers, and I know the HTML code is good because it works great on my paid site: https://traveleuropesmart.com/europe-travel-calculators/
-

Sorry, one last edit to say, this is what it looks like when I click “preview” in the Edit page. Thank you in advance!
-
Hold your horses but the html code you can use on a free wordpress.com website is very limited. You find the allowed html tags at https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/#supported-code
-
Thanks for the response, @staartmees! Forgive my limited knowledge, so does this mean that my code is not allowed because it contains the word “script”?
This is my html code:(function() { var qs,j,q,s,d=document, gi=d.getElementById,
ce=d.createElement, gt=d.getElementsByTagName,
id=”calconic_”, b=”https://cdn.calconic.com/static/js/”;
if(!gi.call(d,id)) { j=ce.call(d,”script”); j.id=id; j.type=”text/javascript”; j.async=true;
j.dataset.calconic=true;
j.src=b+”calconic.min.js”; q=gt.call(d,”script”)[0]; q.parentNode.insertBefore(j,q) }
})();I tried to paste it using the “inline code” feature on this forum post… not sure if it worked. I don’t see the “<div class” etc. at the beginning…
- The topic ‘HTML issue’ is closed to new replies.