![]() |
Test if thread is sticky with <if> statement
I'd like to wrap a bit of code in an <if> statement so that it does not display in sticky threads. The code is in the postbit_legacy template, so I'm not sure if I'd use $post or $thread. Something like this is what I had in mind:
HTML Code:
<if condition="!$threadinfo['sticky'] == 1"> Edit: Sorted! Here's how I accomplished it, if anyone is curious: HTML Code:
<if condition="!$threadinfo['sticky']"> |
All times are GMT. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|