I created simple HTML code in Notepad with a .html extension for my maternity leave calculator. It works fine as a file, but when I paste it into the WordPress custom block (HTML editor), it doesn’t display or function properly. I think WordPress strips or alters some code. Please guide me on fixing it so my calculator works correctly inside WordPress.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
This issue happens because WordPress often removes or modifies certain HTML or JavaScript for security reasons. To fix it, try using the Custom HTML block or add your code through a code snippet plugin instead of directly pasting it. If your calculator uses scripts, enqueue them properly or hire PHP developers to help integrate it safely into WordPress.
Descárgamelo por favor
Some comments may only be visible to logged-in visitors. Sign in to view all comments.