1 2 3 4 5 6 7 8 9 10 11
<?php $context = elgg_get_context(); $title = $vars['title']; if ($context === 'main' && $title == elgg_echo('content:latest')) { echo elgg_view('n1_theme/landing'); }