XF condition for page ?

tafreehm

Well-known member
Hello,
I wanna include some JS and CSS code in header. But I only want it to appear at one specific page.
can someone guide me with <xen: if> condition for page, please ?
Thank You
 

Brogan

XenForo moderator
Staff member
The template for a page node is pagenode_container

<xen:if is="{$contentTemplate} == 'pagenode_container'">
This content will show on pages
</xen:if>
 
Top