Custom HTML block not showing up on site

  • Unknown's avatar

    Hi, when I preview the custom HTML it shows up but won’t work once I update. The HTML code is

    WP.com: Yes
    Jetpack: No
    Correct account: Yes

    The blog I need help with is: (visible only to moderators and staff)

  • Unknown's avatar

    Hi there!

    It’s possible the code you’re trying to use is not allowed on sites below the Business plan. Please take a look at this page to verify if the code you’re using is allowed:

    WP
    Add Code to Your Site
    3 min read
    This guide explains which types of code can be added to your website, depending on your WordPress.com plan. About Code Restrictions The type of code you can add to a WordPress.com website depends on your plan level: Free sites and sites with a Personal or Premium plan have limits to code that can be added, explained in this guide. Restrictions are in place to ensure the safety and sec

    You’ll see that in your post above, the code was stripped. That means the code you’re trying to use is likely not supported. You can reply and insert the code into a code block so that we can see what the code is. Here’s how to use the code block:

    WP
    Blocks (The Full List) » Code Block
    2 min read
    With the Code block you can add formatted code for others to view. Adding content to the Code block will wrap the content in tags. Add a Code Block In order to add a Code block, click on the Block Inserter icon. Add the Code block from the Block Inserter icon or the slash command /code. You can also type /code and hit enter in a new paragraph block to add one quickly. Use the

    Could you reply with the code pasted inside a Code block?

    Thanks!

  • The topic ‘Custom HTML block not showing up on site’ is closed to new replies.