adding html blocks
-
When I add my html code, it previews exactly how I want it to, but when I publish it, just the html code appears. Am I doing something wrong? Thanks.
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
Hello there,
There is a possibility that some HTML tags are missing from your code, preventing it from rendering.
We will be able to debug and help you better if we see your code.
:)
-
Hi @mroxo12,
Hope you are not using below tags.
For security reasons, the following tags are only allowed on plugin-enabled sites:
embed, frame, iframe, form, input, object, textarea, style, linkHere are more details about the tags which are allowed
https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/#supported-html-tagsHope this helps.
Thanks -
Thank you for the replies. Here is the code.
The site it is copied from says ‘simply copy it to your website’I do not have plug ins supported. Do I need to for adding HTML?
-
Hello again,
From the source link you shared, are you extracting HTML code? The only thing I see here is a link and no code.
If so, as @mohammadriyad pointed out, that code shouldn’t contain any tags that are prohibited on free sites.
I do not have plug ins supported. Do I need to for adding HTML?
HTML is also allowed on free sites, but some tags, such as embed, frame, iframe, form, input, object, textarea, style, and link, do not work because of security concerns, and for that WordPress Pro plan is needed.
:)
- The topic ‘adding html blocks’ is closed to new replies.