Support » Plugin: Meteor Slides » [Plugin: Meteor Slides] Slide URL link dont work

  • Resolved DUBBELDEEZ

    (@dubbeldeez)


    Hi when I insert a slide link URL in the box it doesn’t link on the slider. Instead I get this link:

    “www.website.com/?slide=nameofslide”

    It just adds “?slide=nameofslide” behind my url website.
    Can u help me out, its very confusing.

    Thanks allot,
    Danny

    http://wordpress.org/extend/plugins/meteor-slides/

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

    (@jleuze)

    Hi Danny, most likely your theme is filtering post thumbnails, like the slide image and adding that post’s permalink to the image, breaking the custom slide links.

    You should be able to find this filter in your functions.php file. If your site uses post thumbnails, you will have to add the permalink to them after you remove the filter.

    DUBBELDEEZ

    (@dubbeldeez)

    Wow thanks allot! That did it! Amazing.. Have a good one! Greetings from Amsterdam.

    Plugin Author Josh Leuze

    (@jleuze)

    No problem Danny!

    Hi!
    I’m having the same problem. My slides link to the name of the slide, instead of the link that I’m providing.
    Could you explain what I need to do with the functions.php a little more? I guess I’m not understanding it correctly..
    Thanks in advance,
    Vanessa

    Plugin Author Josh Leuze

    (@jleuze)

    Hi Vanessa, what theme are you using, can you post a link to the site you’re working on?

    Thank you so much for your quick reply! I’m using my own theme..
    My functions.php looks like this:

    add_theme_support( 'post-thumbnails', array( 'post' ) );
    add_theme_support( 'post-thumbnails', array( 'page' ) );
    set_post_thumbnail_size( 600, 300 );
    add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );
    function my_post_image_html( $html, $post_id, $post_image_id ) {
    $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
      return $html;
    }

    [Please post code snippets between backticks or use the code button.]

    I hope this helps to find a solution. 🙂
    Thank you so much for the support!

    Plugin Author Josh Leuze

    (@jleuze)

    It is the filter that is breaking the links, try removing this:

    add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );
    
    function my_post_image_html( $html, $post_id, $post_image_id ) {
    $html = '' . $html . '';
    return $html;
    }

    I tried removing this part of the code.
    It does try to connect to the web address first now, but then redirects to the slide name again. I really don’t know what I’m doing wrong..

    Plugin Author Josh Leuze

    (@jleuze)

    Double check the rest of your theme to make sure you don’t have any other similar filters. Do you have any other plugins installed that could be causing conflicts?

    Ok, I narrowed it down to the “categories”.
    I was trying to link to my categories (or labels) from the slides and that’s when it redirects. If I link to a regular page in my blog, it works like a charm!
    I just can’t figure out what exactly is causing it..
    Thank you so much for your help though!
    Greetings from Germany!

    Plugin Author Josh Leuze

    (@jleuze)

    Could you post a link to your site. Maybe add a link to a regular page and another to a category so I can compare them?

    Here’s my page. It’s not open to the public yet, so there’s still a lot of things to do. 😉
    If you click on the slide that says “nifty thrifty sunday” it will link to my “about” page.
    The other slides are linked to a category and that’s where they’re redirecting..
    I really appreciate all the help!

    Plugin Author Josh Leuze

    (@jleuze)

    No problem, it looks like this is just a coincidence. Links like this redirect to slides whether they are entered directly or clicked from the slideshow: http://www.niftythriftythings.com/categories/floral-friday/

    But it looks like the category links are actually entered like this: http://www.niftythriftythings.com/category/floral-friday/

    Is there supposed to be a page at the first link, or are they incorrect? It looks to me like WordPress is just redirecting to the slides because the slug happens to be the same.

    Oh, wow! I don’t think I would have ever figured it out without your help.
    I changed the href in the functions.php for the categories from “/categories/” to “/category/” and it’s working great now!
    Thank you so much for all the help and for developing such a great plugin!
    Have a great rest of the week!

    Plugin Author Josh Leuze

    (@jleuze)

    You’re welcome, thanks for trying my plugin!

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Plugin: Meteor Slides] Slide URL link dont work’ is closed to new replies.