• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Remove share buttons on private nodes

Brogan

XenForo moderator
Staff member
#5
You could use a conditional statement utilising the node ID to remove the share page template - you would have to build the array of node IDs and edit the template manually though.
 

Hardcore

Active member
#6
You could use a conditional statement utilising the node ID to remove the share page template - you would have to build the array of node IDs and edit the template manually though.
Easy enough.
Code:
<xen:if is="!in_array({$forum.node_id}, array(1,2,3,4,5))">

// do your thing

</xen:if>
Thanks.