WordPress.org

Ready to get started?Download WordPress

Forums

Photospace Responsive Gallery
Plugin not working with Roots theme (3 posts)

  1. jayseventwo
    Member
    Posted 1 year ago #

    Hi, this looks like an awesome plugin, but it does not work with Roots theme (http://www.rootstheme.com/) - would you have any idea why? You can use the following link as an example:

    http://jayseventwo.com/timelineps/harris/

    I have tried the 2012 theme and it appears to work fine.

    Thanks in advance for your help.

    http://wordpress.org/extend/plugins/photospace-responsive/

  2. grvrulz
    Member
    Posted 1 year ago #

    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.

  3. jayseventwo
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.