1 (edited by legmet 2016-07-31 09:50:56)

Topic: elements depend on site variable

simple snippet, which shows how to use conditions with Monstra variables


<?php 
if (Site::title() == 'Your Title') 
{ echo Site::name() .' Your Text ' ; }
     else 
{ echo Site::name() .' - '. Site::title() ; }
 ?>