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 will store all of your form submissions directly inside the WordPress admin. You can access this from the Submissions tab when viewing a form. List View The Submissions tab shows all the submissions your form has received in chronological order. Each field in your form will have its own column, in addition to […]

HTML Forms Premium includes a visibility feature that lets you only show a form when a user is logged in to your site. This feature lets you have greater control over who can see, and submit data, to your website. Enabling the Require Users to Log In Feature You’ll need to install HTML Forms Premium […]