Place Custom Fields Anywhere Inside a Joomla Article

By default, Joomla displays custom fields automatically before the article content. However, you may want to control exactly where a field appears within your text like inside a paragraph or after an image.

This guide explains how to do that using field shortcodes.

Step 1: Disable Automatic Display

Before you can manually place a field, you need to prevent Joomla from automatically showing it. This is controlled by the Automatic Display setting found in each field’s options.

  1. Open the Custom Field you want to reposition.
  2. Go to the Options tab.
  3. Set the Automatic Display option to Do not automatically display.

This prevents Joomla from rendering the field at its default location, allowing you to place it manually.

Step 2: Insert the Field Manually Where You Want It

Once automatic display is disabled, you can manually insert the field or an entire field group anywhere in the article content.

Option A: Insert the Field Shortcode by ID

Each field has a unique ID. You can insert it anywhere in your article using:

{field ID}

When the article is displayed, Joomla replaces the shortcode with the field’s output.

Option B: Insert the Field from the Editor Toolbar

If you don’t know the field’s ID, Joomla provides an easier way to insert it directly from the editor:

  1. While editing your article, click CMS ContentField in the editor toolbar.
  2. In the Field dialog that appears, you’ll see a list of available custom fields.
  3. Click the green button next to the desired field.

The shortcode (e.g., {field 3}) will be automatically inserted into your article at the current cursor position.

Option C: Insert a Field Group

Joomla allows you to organize fields into groups. If you have multiple fields grouped, you can display all of them at once using:

{fieldgroup ID}

In the Field dialog mentioned above, click the yellow button to automatically insert the group shortcode.

Step 3: Ensure the Content Plugin Is Enabled

For the {field ID} and {fieldgroup ID} shortcodes to work, make sure the Content – Fields plugin is enabled. If this plugin is disabled, the shortcodes will appear as plain text instead of rendering their content.

Last updated on Oct 31st 2025 07:10