|  主页
帮助

WordPress 帮助

Add a Custom HTML block in WordPress

You can add a block with custom HTML to your WordPress website.

  1. Open the block editor (Need help opening the block editor?).
  2. Select Add block.
  3. Select Custom HTML from the Formatting section.
  4. Paste your HTML code snippet into the field provided.
  5. You can preview the code by selecting the Preview tab.
Animation that describes how to add a custom html block

Note: Please remember to update your page or post after editing.

Related steps

More info

  • You can find more specific details about using HTML on your WordPress site in the support documentation.
  • What is CoBlocks?(needs link)
  • Discover more about the block editor for WordPress in their support documentation.

本文是否有帮助?
感谢您的反馈。 要咨询客户服务代表,请使用上面的客户支持电话号码或聊天选项。
很高兴我们能有所助益! 我们还可以为您做些什么?
我们对此深感抱歉。 请告诉我们,什么问题令您费解,或者解决方案为何未能解决您的问题。