How to render views inside page-front.tpl.php? I have a view named 'Updates' which displays latest article. How to render this view directly in my tpl.php ?
&lt;?php
print views_embed_view('my_view', 'block_1', $arg1);
?&gt;



replace view_name with your view name
replace block_1 with your machine name
replace $arg1 with an argument (if want to manually pass a value to your contextual filter) This is optional, if you're not going to use it, you can delete it.