Shortcodes reference
All Front User Submit shortcodes: forms, user dashboard, login and registration, custom field values and Google Maps.
This page lists every shortcode of the plugin with its options. Paste a shortcode into a page, a post or a shortcode block.
| Shortcode | What it shows |
|---|---|
[fe_form id="X"] |
A post submission form |
[fe_fs_user_admin] |
The user dashboard with the user’s posts |
[fus_form_login] |
A login form |
[fus_form_register] |
A registration form |
[fus_custom_field_content meta_name="X"] |
The value of a custom field |
[fus_display_field name="X"] |
The value of a custom field (same idea, other attribute name) |
[fus_google_map meta_name="X"] |
A map for a location saved by the Google Map field |
Post form
[fe_form id="123"]
Replace 123 with your form ID. You see the full shortcode in the Shortcode box at the top of the form builder and in the Shortcode column of Front User Submit → Post Forms.
Instead of the shortcode you can use the Front Editor block in the block editor. Choose the form in Choose form.
The same page is used to edit posts: the plugin adds ?post_id=… to the page address. See Edit post settings.
User dashboard
[fe_fs_user_admin]
[fe_fs_user_admin count="10"]
| Attribute | Default | Description |
|---|---|---|
count |
6 |
Posts per page |
Settings: Front User Submit → Settings → User Admin. See User dashboard.
[user_posts_list] is an older name for the same shortcode and still works.
Login and registration forms
[fus_form_login]
[fus_form_register]
[fus_form_login redirect="https://example.com/my-posts/"]
| Attribute | Default | Description |
|---|---|---|
redirect |
value from settings | Where to send the user after a successful login or registration |
Logged-in users do not see the login form. The registration form shows “User is logged in.” to them.
Settings: Front User Submit → Settings → Login & Registration Settings. See Login and registration forms.
Show a custom field value
Use these shortcodes inside a post (or a theme template) to show data that a user entered in a custom field of the form. The field Name in the form builder is the meta name.
[fus_custom_field_content meta_name="phone"]
[fus_custom_field_content meta_name="phone" post_id="123"]
| Attribute | Default | Description |
|---|---|---|
meta_name |
(required) | The field name |
post_id |
current post | Read the value from another post |
[fus_display_field] does the same with other attribute names:
[fus_display_field name="phone"]
[fus_display_field name="phone" post_id="123"]
Notes:
- The value is shown as plain text (HTML is escaped).
- If the field is empty, nothing is shown.
- Use them for simple values: text, number, date, select or radio. Fields that save a list (checkbox group, file upload, Google Map) do not show nicely. For a map use
[fus_google_map].
Google Map
Shows a map with a marker for the location that a user chose in the Google Map field (Pro). A Google Maps API key must be saved in Settings → Main Settings → Google Map API.
[fus_google_map meta_name="google_map-1737818243969"]
| Attribute | Default | Description |
|---|---|---|
meta_name |
(required) | Name of the Google Map field |
post_id |
current post | Read the location from another post |
height |
400px |
Map height |
width |
100% |
Map width |
zoom |
15 |
Zoom level, 1 to 20 |
marker_title |
the address | Text when you hover the marker |
info_window |
true |
Show the address in a popup when the marker is clicked (true or false) |
Example with all options:
[fus_google_map meta_name="office_location" height="500px" zoom="12" marker_title="Head office" info_window="false"]
If the post has no location, the shortcode shows “Location data not found”.