Gravity Forms Shortcode Updated May 2026

<?php gravity_form( $id, $display_title, $display_description, $display_inactive, $field_values, $ajax, $tabindex ); ?>

How to Use the Gravity Forms Shortcode (and Where to Find It) gravity forms shortcode

You use the .

A form that hides the title/description and uses AJAX. | title="false" | | description | Shows or

| Parameter | What it does | Example | | :--- | :--- | :--- | | title | Shows or hides the form title. | title="false" | | description | Shows or hides the form description. | description="false" | | ajax | Submits the form without refreshing the page. | ajax="true" | | field_values | Pre-fills specific fields (advanced). | field_values="name=John&email=john@email.com" | | field_values="name=John&email=john@email

It’s a simple, universal code that tells WordPress exactly where to display your form. Here’s everything you need to know. The Gravity Forms shortcode looks like this:

Стихотворение Анны Ахматовой «Алиса» на английском.
(Anna Akhmatova in english).