Skip to main content

{content}

Content Substitutions provide current content, identified by content_id parameter (either GET or POST).
{content attr="one_of_the_following"}

Attributes

Attribute nameData returned
id
title
chapo
description
postscriptum
visibletrue if the content is active, false otherwise
positionThe position number in parent folder
createdAtThe date of creation formatted by Date time parameter
updatedAtThe date of last modification formatted by Date time parameter

Date Time optional parameters

ParameterDescription
outputTake date, datetime or time as value to select the return type
formatTake a PHP date format, the format for the current locale will be used if this parameter is empty