WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
[resolved] Posts Code Above All Thumbnails (2 posts)

  1. Mic_H
    Member
    Posted 1 year ago #

    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');
  2. Mic_H
    Member
    Posted 1 year ago #

    Sorry for a needless post!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic