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() ; } ?>
You are not logged in. Please login or register.
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() ; } ?>