/ Published in: PHP

If `views_embed_view()` or just `$view->execute()` are called, the default view settings are used (only shows 10 entries, etc.) so we have to call `$view->set_display()` & `$view->pre_execute()`.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$view = views_get_view('links'); $view->set_display('default'); $view->pre_execute(); $view->execute();
Comments
