Support » Plugin: Photospace Responsive Gallery » Plugin not working with Roots theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is because the Roots theme rewrites the gallery shortcode with it’s own cleanup code. In order to make it work, ope the file lib/cleanup.php and comment the following lines(363,364)

    remove_shortcode('gallery');
    add_shortcode('gallery', 'roots_gallery');

    And it’ll work.

    jayseventwo

    (@jayseventwo)

    Thanks mate – ended up using another gallery as i had to get this project out the door, but will try this code on another.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin not working with Roots theme’ is closed to new replies.