WordPress.org

Ready to get started?Download WordPress

Forums

Gallery to Slideshow
[resolved] how to remove slide attachment url (9 posts)

  1. motobor
    Member
    Posted 2 years ago #

    Really great plug-in, having only one issue.

    can't find a way how to remove the slide url and stopping to open the image on new page, when you click on it.

    any ideas?

    thanks!

    http://wordpress.org/extend/plugins/gallery-to-slideshow/

  2. motobor
    Member
    Posted 2 years ago #

    I figured it out myself.
    Just added
    $(".gallery-to-slideshow > ul.slides > li a").removeAttr("href");
    to the page template where the gallery would be

  3. Matt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Motobor,

    You can remove the link either using the shortcode params [gallery link=""/] or by removing the link value of the $atts Array. You can do that hooking into the 'mv_gallery_to_slideshow_attr' filter.

    Kind Regards!

  4. CarolineElisa
    Member
    Posted 2 years ago #

    Hi Matt,

    I'm afraid that [gallery link=""/] doesn't remove the link for me. I also tried [gallery link=""].

    Thanks,
    Caroline Elisa

  5. Bob333
    Member
    Posted 2 years ago #

    How to add now picture attachment
    open the image on new page in post type
    like the old version under 1.4.0

    Thanks

  6. Matt
    Member
    Plugin Author

    Posted 1 year ago #

    Since 1.4.4.1 to remove the link on the thumbnails, you need to set the link attribute to "false".

    Kind Regards!

  7. offpeakdesign
    Member
    Posted 1 year ago #

    Hi sksmatt,
    can you please tell me what file I would make that edit to? thanks

  8. offpeakdesign
    Member
    Posted 1 year ago #

    I added [gallery attachment="false"] to the post and it still links. I guess I'm not clear on what to do here to disable the links.

  9. belbo
    Member
    Posted 1 year ago #

    offpeakdesign:

    In "gallery-to-slideshow.php" Line 201

    Change: 'link' => '',
    To:
    'link' => 'false',

    Worked for me anyway :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic