Support » Plugin: Automatic Youtube Video Posts Plugin » [Plugin: Automatic Youtube Video Posts Plugin] Posts Code Above All Thumbnails

  • Resolved Mic_H

    (@mic_h)


    When this plugin is activated I get this code everywhere I have a thumbnail.

    Warning: Illegal offset type in /home/content/69/8947069/html/exampleaddress.com/wp-content/plugins/automatic-youtube-video-posts/core/video.php on line 72

    Ignore!!!!!!!!!!!!

    I have since found the answer I was looking for. It was answered by the very helpful author. With this fix I would recommend this Plugin in as it saved me hours of coding.

    Here is the solution:

    Change lines 31 and 32 of /core/video.php from:

    add_filter('post_thumbnail_html','WP_ayvpp_thumbnail');
    add_filter('post_thumbnail_size','WP_ayvpp_thumbnail_size');

    to this:

    //add_filter('post_thumbnail_html','WP_ayvpp_thumbnail');
    //add_filter('post_thumbnail_size','WP_ayvpp_thumbnail_size');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] Posts Code Above All Thumbnails’ is closed to new replies.