Viewing 15 replies - 16 through 30 (of 35 total)
  • Thread Starter Kstylez

    (@kstylez)

    @emielb Ok… you have been incredibly helpful..Thank You!!!!This has been an issue for me for months.Lastly Im not 100 percent familiar with Sql… where is the value that i should be resetting … i did a search for featured image but it returns with alot of options..
    Thanks in advance

    @emielb – how do i reset the Featured image value in my database? Thanks again.

    Thread Starter Kstylez

    (@kstylez)

    Does anybody know how to do this .. it would be greatly appreciated

    Hi Sutherland,

    I think you should use the code below

    empty(get_the_post_thumbnail( $post_id ))

    instead of

    !get_post_thumbnail_id( $post_id )`

    seems WP did not delete “_thumbnail_id” from the post when we delete the image from the media library.

    Incidentally, another problem:

    when we publish a post, we can’t get video thumbnail from extra “Theme Post Settings”, although we used custom fields to stored the extra post settings and already add filter to “video_thumbnail_markup” . We have to publish it first, then search again manually. I think the root of the problem is we couldn’t get the value of the custom field before it be published.

    if we use WordPress built-in “Custom Fields” meta box to add custom field, it’s working. But you know, most themes used custom settings panel.

    I noticed that you add_action “save_video_thumbnail” to six “{older_status}_to_{new_status}” , but almost all themes handle data via “save_post” action, so I think you may need to add_action to ‘save_post’, add set $priority to a high number like this

    add_action( 'save_post', array( &$this, 'save_video_thumbnail' ), 9999999, 1 );

    However, this is a great plugin, and looking forward your new version.

    Hi dedepress,

    Where do I this code? What file?

    empty(get_the_post_thumbnail( $post_id ))

    Thanks.

    video-thumbnails/video-thumbnails.php

    I just did the MASS ACTIONS and it deleted all the thumbnails from the “ultimate posts” widget thumbnails…

    Not sure what happened. Can anyone help me?

    Hi dedepress,
    I tried that code out and all of a sudden the site went down? I put the old code back and the site was back up. Any reason that would happen? Thanks again.

    any error?

    Try the code below

    // Set attachment as featured image if enabled
    $the_post_thumbnail = get_the_post_thumbnail( $post_id );
    if ( $this->settings->options['set_featured'] == 1 && $this->settings->options['save_media'] == 1 && empty($the_post_thumbnail) ) {
    	set_post_thumbnail( $post_id, $attachment_id );
    }
    

    The original code

    // Set attachment as featured image if enabled
    if ( $this->settings->options['set_featured'] == 1 && $this->settings->options['save_media'] == 1 && !get_post_thumbnail_id( $post_id ) ) {
    		set_post_thumbnail( $post_id, $attachment_id );
    }
    

    Hi dedepress,
    I replaced that code… site didn’t go down ??
    But my feature thumbnail images on the tagged pages do not show up still. I have to manually go into each post and select the feature image from the media library.

    However, the thumbnails for my widget plugins are working (posts by tag plugin and ultimate post plugin).

    Thanks again.

    Hey, dedepress,

    I think that new piece of code worked!!

    the only thing is that under the “Posts by Tag” plugin widget, I have my images set at 228×160 but the images are appearing smaller. Is there any way I can control the thumbnail sizes for the “Posts by Tag” images?

    Thank you so much for helping.

    Sorry, buddy, I just want to report the issues to the plugin author and give him some suggestions, then it can be better with my premium video theme in the future.

    I really have no time to help you. Sorry.

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    Hey guys, I believe I have a fix for the AYVP featured image issue on the way. Once that’s fixed I’ll be working on the bug where you may have to click “Search Again”.

    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    The featured image bug should be partially fixed in 2.0.7, but I just realized it may still exist when a YouTube ID imported by AYVP begins with a number, so let me know your results!

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘No featured pics in pst’ is closed to new replies.