Is there way to access gallery with it's name ?

Hello ! 

I am writing to you as I would like to automatically display different galleries according to currently displayed page. Because of that I think, the best way to do it is to access single gallery with it's name.

for example if my page is ""
I would like to display a gallery "comapnyarea" which already exists

So my question is.: is it possible to use gallery name to show it ? 

Something like this ?

function get_gallery_id($gallery_name){
    return $gallery_id

<?php if (function_exists('slideshow')) { slideshow(true, <?php get_gallery_id(); ?> , false, array()); } ?>

Sign In or Register to comment.