Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi Mike, cool site, I dig the logo.

    I am planning to add an option to open links in a new window, but for the time being, this would be a pretty simple customization to make.

    In the meteor-slideshow.php file, on line 33, change this:

    <a href="<?php echo get_post_meta($post->ID, "slide_url_value", $single = true); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('featured-slide'); ?></a>

    Into this:

    <a href="<?php echo get_post_meta($post->ID, "slide_url_value", $single = true); ?>" title="<?php the_title(); ?>" target="_blank"><?php the_post_thumbnail('featured-slide'); ?></a>

    That adds target="_blank" to the anchors so they open in a new window or tab.

    With this customization it is all or nothing, I’m hoping to setup the plugin so that you can choose which slides open in a new window/tab and which don’t.

    Plugin Author Josh Leuze

    (@jleuze)

    Damn, someone posted a clever trick in this thread and it must have gotten accidentally flagged as spam.

    The trick is, when you are adding a new slide, instead of simple entering the full URL in the Slide Link metabox like this:

    http://www.jleuze.com/plugins/meteor-slides/

    Close that anchor link and sneak in a blank target to open just that specific slide link in a new tab or windows:

    http://www.jleuze.com/plugins/meteor-slides/” target=”_blank

    that trick works like a charm! Thanks! 🙂

    Plugin Author Josh Leuze

    (@jleuze)

    No problem, I’ll probably build this functionality in eventually, but it’s handy to have a work-around!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Meteor Slides] Have Slide show link Urls open in a new window’ is closed to new replies.