By slug or ID
[cf_form slug="contact"] or [cf_form id="42"] — your call.
Developer tools
Use [cf_form slug="your-form"] anywhere WordPress accepts a shortcode.
Bundled with Core Forms, the WordPress forms plugin with every premium feature in the box. No add-on tax.
The [cf_form] WordPress form shortcode embeds a Core Forms form anywhere WordPress processes shortcodes: classic posts and pages, text widgets, page builder text modules and theme templates through do_shortcode(). Reference the form by slug or by ID; if you pass both, the ID wins. Scripts and styles load automatically.
Sometimes a shortcode is just simpler. Drop [cf_form slug="contact"] into a classic-editor post, a widget, a page builder block, an email template, or a custom theme template.
Full reference: Embedding forms
[cf_form slug="contact"] or [cf_form id="42"] — your call.
Works in classic editor, page builders, widgets, email subject lines, anywhere shortcodes do.
Use do_shortcode() in any PHP template — drop a form into a header, footer, or custom block.
Paste [cf_form slug="newsletter"] into a classic post or a Text widget under Appearance > Widgets.
Echo do_shortcode() in a template file such as a page or sidebar, or use cf_get_form() and get_html() for more control.
Wrap the shortcode in is_page() checks so careers, support and other pages each get their own form.
Stack a contact form and a newsletter form; each validates and shows its own success message.
On the form list, the shortcode chip displays the exact slug to use.
[cf_form slug="contact"] inside any content or template.
Every setting, filter, and error message is documented in the Embedding forms.
[cf_form slug="contact"]
[cf_form id="42"] The Core Forms docs live on gauravtiwari.org/docs, with every setting, filter, and troubleshooting step for this integration.
wp_enqueue_script( 'core-forms' ) and the a11y script added by hand, as the embedding guide shows.cf_get_form( 'contact' ) with a slug or ID, check that it returned a form, and echo $form->get_html(). That renders the complete form with its wrapper, nonce and honeypot.Shortcode and every Core Forms-built integration on this site are included with your license.