Template overrides
Override the HTML of forms, fields, login and registration forms by copying templates into your theme.
You can change the HTML of the front-end form, fields and login forms without editing the plugin. Copy a template into your theme. Your copy survives plugin updates.
How it works
The plugin loads templates with fe_template_path($template). It first looks in the theme:
wp-content/themes/<your-theme>/front-user-submit/<template>
and falls back to the plugin’s templates/<template>. Child themes are checked before the parent theme (WordPress locate_template()).
Steps
- Find the template in
wp-content/plugins/front-user-submit/templates/. - Create the folder
front-user-submitin your (child) theme. - Copy the file there, keeping the sub-folder. For example
templates/front-editor/post-title.phpbecomesyour-theme/front-user-submit/front-editor/post-title.php. - Edit your copy.
Keep the input name attributes and CSS classes the plugin’s scripts use, or saving will break. After plugin updates, compare your copy with the new original.
Templates you can override
| Template | What it renders |
|---|---|
front-editor-form.php |
The form wrapper |
front-form-header.php |
The control buttons (Submit, Save Draft, Add New, Preview) |
front-editor/post-title.php |
Post Title field |
front-editor/post-featured-image.php |
Featured Image field |
front-editor/editorjs.php |
EditorJS field |
front-editor/mdeditor.php |
MD Editor field |
front-editor/tinymce.php |
TinyMCE field |
front-editor/textarea.php |
Textarea field |
front-editor/taxonomy.php |
Taxonomy fields |
front-editor/text.php, number.php, date.php, select.php, checkbox-group.php, radio-group.php, hidden.php, header.php, paragraph.php, button.php, file.php, google-map.php |
Custom fields (Pro) |
editor/image.php, gallery.php, images-carousel.php, attaches.php, checklist.php, embed.php, quote.php, table.php |
HTML saved for EditorJS blocks |
login-form.php |
[fus_form_login] |
register-form.php |
[fus_form_register] |
design-preview.php |
The “Preview on my form” page |
admin/post-form.php, admin/post-forms-list-table-view.php |
Admin form builder and forms list |
The user dashboard template (user-admin.php) is loaded directly and cannot be overridden. Style it with Settings → User Admin → Custom CSS.
To change only the look, CSS is usually enough: the form’s Custom css for form setting, or your theme CSS. Each form has the id fus-form-<form ID>.