WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
Thumbnails on pages (wpuf-attachments) (8 posts)

  1. Digital 805
    Member
    Posted 10 months ago #

    When this plugin is active, all media that has ever been attached to a page appears in the form of a thumbnail at the bottom of every page / post of my site in this class: <ul class="wpuf-attachments">

    Please help resolve this issue. Thank you.
    http://globalebookawards.com/

    http://wordpress.org/plugins/wp-user-frontend/

  2. Satiro
    Member
    Posted 9 months ago #

    same error for me

  3. esmi
    Forum Moderator
    Posted 9 months ago #

  4. Satiro
    Member
    Posted 9 months ago #

    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!

  5. itsnyc
    Member
    Posted 9 months ago #

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

  6. akapellos
    Member
    Posted 8 months ago #

    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

  7. chuckra
    Member
    Posted 7 months ago #

    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.

  8. raidnet
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic