Support » Plugin: WP User Frontend » Thumbnails on pages (wpuf-attachments)

Viewing 7 replies - 1 through 7 (of 7 total)
  • same error for me

    esmi

    (@esmi)

    Forum Moderator

    I’ve the same problem with same plugin.
    However never mind, I’ve founded the solution: disable the option “Show attachments in the post” in Others section.

    Thanks anyway!

    Guys I was having the same problem, just did what other user did and the problem was resolved……

    akapellos

    (@salat-production)

    the same.
    i wrote about it on their site.
    i use “Video Thumbnail” plugin and screenshot from the video adds to the attachments.
    i can not solve this issue for about last month

    I had same issue. I solved it by adding this to functions.php…

    add_filter( 'the_content', 'removeThumbs' );
    function removeThumbs($content){
    	$createdByWpuf = get_post_meta(get_the_ID(),'wpuf_order_id', true);
    
    	if(!$createdByWpuf){
    		$content = preg_replace('#<ul class="wpuf-attachments">(.*?)</ul>#', '', $content);
    	}
    
    	return $content;
    }

    It removes the thumbnails from all content not created by wpuf. Wpuf content displays the thumbnails and other attachments.

    Hi chuckra,
    could you post the full url of the function.php file you are referring to?
    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Thumbnails on pages (wpuf-attachments)’ is closed to new replies.