A free Joomla 4 and 5 content plugin: a shortcode inserts article data and the article's custom fields anywhere content plugins run, rendered through a custom output layout.
WT Articles anywhere with fields helps link site pages together using Joomla's own tools. Say the shop runs on an e-commerce component, while a portfolio of completed projects is built from standard Joomla articles with custom fields and layout overrides. The plugin can show data from such an article, together with its fields, in a product description, another article or a module: anywhere content plugins are processed.
Features
- Inserts Joomla article data by article ID using a shortcode.
- Outputs the article's custom field values.
- Works anywhere on the site where content plugins are triggered.
- Custom output layouts: the layout name goes straight into the shortcode, so the same article can be shown in different ways.
Shortcode
{wt_article_wf article_id=XXXX tmpl=XXXX}
article_idis the article ID in the Articles manager. Required.tmplis the name of the output layout file inplugins/content/wtarticlewithfields/tmpl/. Optional.
How it works
The plugin expects the site developer to create their own output layouts for each task, defining which article data and fields to show and in what markup. The finished layout is placed in the plugin folder and named in the shortcode with the tmpl parameter.
The package includes an editor button (editors-xtd) for inserting articles with the shortcode: its window lets you pick the article and the output layout.
Compatibility and requirements
- Joomla 4 and 5.
- Joomla articles and, where needed, custom fields.