Show Form in Posts or Pages

HTML Forms provides two ways to show your forms on your WordPress posts or pages. You can either use the shortcode or the block found in the WordPress block editor.

Shortcode

After creating your form, the plugin will show you a shortcode with a slug attribute that represents the form’s title.

Shortcode feature found in the HTML Forms WordPress plugin.

This shortcode allows you to show the form in your WordPress posts, pages and widget areas.

The slug acts as an identifier, so the plugin knows which of your forms to show. Since the slug is based on your form’s title, it should also help you remember which form is showing where.

Block

The WordPress Block Editor is the new standard for creating most posts and pages. In fact, it’s becoming the standard for many other areas of the WordPress interface as well. You can easily show a form in any post type using the Block Editor. Simply type in one of the HTML Forms plugin’s block keywords (html, form, contact):

Block lookup for the HTML Forms WordPress plugin.

Then you simply select the form you want to show:

Block select for the HTML Forms WordPress plugin.

Related Posts from Our Knowledge Base

HTML Forms supports conditional elements that you can use to hide or show parts of your forms.

Creating your first form with the HTML Forms WordPress plugin is quick and simple. You’ll be up and running in seconds.