I've tried
<sc:text field="Display Name" />
and
<xsl:value-of select="sc:fld('Display Name',.)"/>
and
<xsl:value-of select="sc:field('Display Name',.)"/>
with various different case and spacing.
All I can find online are examples of how to retrieve it in .NET code Sitecore.Context.Item.DisplayName
Am I missing something obvious? This has been bothering me for a while.
Most standard fields on a Sitecore Item are prefixed with double underscores. I believe you'll find your value on "__display name".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With