How to add additional query parameters to a views page url? I have a view with two displays as page. I need the URL of the pages as gallery?display=grid and gallery?display=slideshow and filter the views based on the additional parameter 'grid' or 'slideshow'.

Can anyone help me with this?
You can load different displays by using the views_get_view_result() function.

$grid_view = views_get_view_result('YOURVIEWNAME', 'grid');
$grid = $grid_view[0];


More documentation is found here and here