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 "http://mydomain.com/companyarea"
I would like to display a gallery "comapnyarea" which already exists
<?php if (function_exists('slideshow')) { slideshow(true, <?php get_gallery_id(); ?> , false, array()); } ?>
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 "http://mydomain.com/companyarea"
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){
Something like this ?
function get_gallery_id($gallery_name){
code
code
return $gallery_id
code
return $gallery_id
}