Hi, this is great
function ims_change_album_gallery_link( $permalink, $post ){
if( empty( $post->post_type ) || $post->post_type != ‘ims_gallery’|| is_singular(‘ims_gallery’))
return $permalink;
global $wp_rewrite;
if( $wp_rewrite->using_permalinks() )
return $permalink . “slideshow/”;
else return $permalink . “&imspage=/slideshow”;
}add_filter( ‘post_type_link’, ‘ims_change_album_gallery_link’, 50, 2 );
But, is there a way to link directly into the gallery/slideshow, as opposed to landing on a thumbnail link in?