Support » Plugin: Gallery Carousel Without JetPack » Turn off carousel on one page only

  • Hi,

    Is it possible to turn off carousel on one page only and add custom links to individual images?

    I have copied the HTML code from the gallery and pasted into a new page and it is almost perfect. I have the desired grid without carousel and I am able to add the links however the gallery became unresponsive … I believe that resizing is regulated but java script but when copying and pasting the HTML code the script stopped working!

    Any advise would be extremely appreciated. If turning off carousel on one page is not possible haw can I make the grid responsive again?

    Many thanks in advance!

    A

    https://wordpress.org/plugins/carousel-without-jetpack/

Viewing 1 replies (of 1 total)
  • Hi Kramart,

    had the same need and solved with this code to add in functions.php (change the post id with yours):

    function remove_gallery_carousel_wo_jp() {
    
         global $post;
         $ids = array(18034);
         if(in_array($post->ID,$ids)):
            wp_deregister_script('spin');
            wp_deregister_script( 'jquery.spin');
         endif;
    }
    add_action('wp_head', 'remove_gallery_carousel_wo_jp', 1);

    Not very sophisticated but it works.

Viewing 1 replies (of 1 total)
  • The topic ‘Turn off carousel on one page only’ is closed to new replies.