Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    That idea is actually on our todo list! I can’t give you a deadline for this yet, but I hope to add it to the plugin in the next few months.

    Brecht

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    great..

    in the meantime you could link the functionality to

    https://wordpress.org/plugins/easy-fancybox/

    just by adding the class=”fancybox-iframe” that plug in can open the links in modal window. And I could configure it with this plug in until you have official added it?

    just an idea

    ps: where do i get to buy the full version?

    Plugin Author Brecht

    (@brechtvds)

    I’ll look into that and get back to you!
    The Premium plugin can be purchased on our website. There’s a “Buy Now” button in the sidebar.

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    Hey brechts, did you have a chance to look into this?

    In the meantime if I wanted to modify the plugin, where would I find the code which outputs the grid?

    Plugin Author Brecht

    (@brechtvds)

    Hi again,

    You could add the class by editing the /js/grid.js file. On line 296 you have this:

    item.wrap('<a href="' + link + '" target="' + link_type + '"' + rel + '></a>');

    So you could just replace that with this:

    item.wrap('<a href="' + link + '" target="' + link_type + '"' + rel + ' class="fancybox-iframe"></a>');

    When I do that the lightbox does open up but it also redirects to the page, so it doesn’t seem like it’s working like it should. Could you check if you have the same issue?

    Brecht

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    nono it works perfectly for me, take a look at

    http://amanoarchitects.eu.freepgs.com/works/

    i added the class right after the link tag

    // Add link around item
                if (link && item.parent('a').length == 0) {
                    item.wrap('<a class="fancybox-iframe" href="' + link + '" target="' + link_type + '"' + rel + '></a>');
                }

    thanks a lot… I think it would be a good addition to the plug in, it looks fancy (haha)

    Plugin Author Brecht

    (@brechtvds)

    Good to hear it works for you!
    I’ll do some more testing and might include it in the plugin as a setting.

    Brecht

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    that would be great thanks

    Plugin Author Brecht

    (@brechtvds)

    Hi again,

    I wanted to let you know that we’ve just released WP Ultimate Post Grid 2.0 which includes a new “Link Class” setting on the Grids > Settings > Grid page that should allow you to add the class needed for plugins like Easy Fancybox.

    Kind regards,
    Brecht

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    it works really well… thanks

    Thread Starter pgerhard@hotmail.com

    (@pgerhardhotmailcom)

    i don’t really need so far the Pro features or the support… Is there any way to make a donation to support the plug-in? I think there should be an option…

    Plugin Author Brecht

    (@brechtvds)

    Good to hear that works! Let me know if you need anything else.

    There is actually a “Donate to this plugin” link on the plugin page. It’s in the Author section in the sidebar. Thanks for considering a donation, I really appreciate it!

    Brecht

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Open portfolio items in modal window’ is closed to new replies.