Embed Views remove pager I have embedded view in a node with following code:

&lt;?php
 $view = views_get_view('articles');
 $view-&gt;set_items_per_page(1);
 $view-&gt;set_offset(2);
 print $view-&gt;preview('page');
 $view-&gt;destroy();
?&gt;


I just need to display only one specific row (that's why I'm using offset). I couldn't find a way to retrieve one specific row with any other method.

This code is acceptable but it has pager because that view has more than one row.
Is there a way to remove pager like in Views UI? In Views there is a option to not use a pager but "Display a specified number of items".

I would like to remove it completely from code without CSS.
I ended up having to hide the specific pager with css in the case I did what you are trying to do...