[Skip to content]

Search our Site
Easysite Resource Centre
Page Property

Page Property

Displays the contents of an EasySite Page Property such as Page Title, Expiry Date etc

If you need to display or use the content of a specific Easysite Page Property within your design style you can use this style element:

<%=StyleElement("PageProperty", "Title")%>

The above code will display the Page Title, you can also use the following parameters in place of "Title" to display different Page Properties:

TitleBar
Author
Summary
LinkText
LanguageCode
RegionCode
PublishedDate
GoLiveDate
ReviewDate
ExpiryDate
PageLastModified


PageProperty style element allows a regex pattern as the second part of the second param
for example:

<%=StyleElement("PageProperty", "TitleBar,([^a-zA-Z0-9]|^\\s)")%>