WordPress does not allow tag in the html code embed
-
Hello support,
I’m not able to embed script tag. I want the below code to work in my wordpress site.
<style type=”text/css”>
.zcmp_archive {margin: 5px;padding:0px;width:500px; text-align:left;border:solid 5px #f6f6f6;white-space:nowrap; display:table;}
.zcmp_archive_p {font-family:arial,verdana; font-size: 12px; border-top:solid 1px #f9f9f9; padding:15px; margin:0px; white-space:nowrap;}
.zcmp_archive a{ font-size:14px; color:#09F; white-space:nowrap;}
.zcmp_archive a:hover{ font-size:14px; color:#09F; white-space:nowrap; text-decoration:none;}
</style><script type=’text/javascript’ src=’https://campaigns.zoho.com/CampaignArchive/11287eca327b61/11156559756e83/10/1/0/0′></script>The blog I need help with is: (visible only to logged in users)
-
Some types of code are not allowed to be embedded on WordPress.com. http://en.support.wordpress.com/code/
For that, you’d need a self-hosted WordPress.org website.
-
Thank you for your response.
But I’m not yet clear about the reason behind this. what should I do or what should I change in my code to make that work in wordpress.com -
WordPress.com doesn’t allow for this type of code to be embedded for security purposes. An older post indicates a similar issue: https://en.forums.wordpress.com/topic/embedding-zoho-web-to-lead-contact-form?replies=4.
This would be a reason for a self-hosted WordPress.org site.
You could try putting that code into a text widget, but I am guessing it won’t work there either.
-
To confirm, it won’t work in the widget area either.
Here’s the reasoning behind the “no code” rule: http://en.support.wordpress.com/code/
That having been said, what is the purpose of the code/what are you trying to display/link to? There may be a WordPress.com friendly way to achieve your goal.
- The topic ‘WordPress does not allow tag in the html code embed’ is closed to new replies.