11-09-2017, 11:39 PMKituKatu Wrote: Maybe set an if statement to ignore if your variable is 0, else print the following div? PHP Code:<if {$GLOBALS['tplvars']['years']} !== "0" then><div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div></if>
<if {$GLOBALS['tplvars']['years']} !== "0" then><div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div></if>
Loading Info...