Viewing 9 replies - 16 through 24 (of 24 total)
  • I had the same problem with my theme and removing the function that auto-added links to thumbnails solved this for me too. This is a slick and easy to use plugin (I love the Slides menu to manage the slides — even my clients can handle that) — many thanks!

    PS: I use a theme generator tool so I’ll have to keep removing this function from my generated functions.php file, which is not a big deal. But… if it would work if your plugin used !important when setting the href to take precedence on the slide images that would really be ideal in a future version. Then the nice theme auto-linking function could remain and wouldn’t be in conflict.

    Thanks again.

    Meant to add one enhancement suggestion…

    Would be nice to have an option to set the alignment of the page icons to right instead of left (set .meteor-buttons {right: 0px;} instead of .meteor-buttons {left: 0px;}

    Thanks!

    Plugin Author Josh Leuze

    (@jleuze)

    @3easypayments Thanks for the feedback, I’m glad you were able to get the links fixed.

    There’s not much I can do on my end, I can’t override markup for links in the same way that CSS can be. One option you would have if the the theme uses the same name for the filter every time, you could use remove_filter in a plugin to disable it.

    HI
    I need the post thumbnails filter working.
    How can it work together with meteor slides?
    Is there a fix for that?

    Thanks
    Dan

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @danstramer please start your own thread with your own details.

    https://www.ads-software.com/tags/meteor-slides?forum_id=10#postform

    Hello! Thank you for an excellent plug-in!! I’m also having troubles with the image URL. When I deleted the code snippet for the thumbnail filter the site crashed. My theme functions look like this:

    add_filter( ‘post_thumbnail_html’, ‘grisaille_post_image_html’, 10, 3 );
    function grisaille_post_image_html( $html, $post_id, $post_image_id ) {

    $html = ‘‘ . $html . ‘‘;

    return $html;
    }

    What part is safe to delete for the URL’s to work? My theme is grisaille.

    Thanks so much!!

    Plugin Author Josh Leuze

    (@jleuze)

    @miriamohrn You should be able to remove that without breaking anything, the blog thumbnails just won’t have links. You could try just commenting out the filter to disable it without deleting anything:

    //add_filter( 'post_thumbnail_html', 'grisaille_post_image_html', 10, 3 );

    I would try adding a conditional to that function so that it only runs on the blog post post type:

    // THIS LINKS THE THUMBNAIL TO THE POST PERMALINK
    add_filter( 'post_thumbnail_html', 'grisaille_post_image_html', 10, 3 );
    function grisaille_post_image_html( $html, $post_id, $post_image_id ) {
    	if ( 'post' == get_post_type() ) {
    		$html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
    		return $html;
    	}
    }

    Hi Josh! Thanks for your reply. I tried what you said but the same thing happened and I had to FTP the functions.php back up for the site to start running again.

    Any other suggestions? Maybe there is something wrong with my theme because it seems that as soon as I do the smallest thing in the functions file, it turns into the error 500.

    Thank you for your time!!

    Plugin Author Josh Leuze

    (@jleuze)

    I tried commenting out the filter in a test site and it worked fine for me. Are you editing the file in a text editor or via WordPress? Try using a text editor like Notepad++ to help avoid mistakes.

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