Title: [Plugin: Automatic Youtube Video Posts Plugin] Posts Code Above All Thumbnails
Last modified: August 20, 2016

---

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

 *  Resolved [Mic_H](https://wordpress.org/support/users/mic_h/)
 * (@mic_h)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-automatic-youtube-video-posts-plugin-posts-code-above-all-thumbnails/)
 * 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)

 *  Thread Starter [Mic_H](https://wordpress.org/support/users/mic_h/)
 * (@mic_h)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-automatic-youtube-video-posts-plugin-posts-code-above-all-thumbnails/#post-3099293)
 * Sorry for a needless post!!!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Automatic Youtube Video Posts Plugin] Posts Code Above All Thumbnails’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/automatic-youtube-video-posts_e39595.
   svg)
 * [Automatic Youtube Video Posts Plugin](https://wordpress.org/plugins/automatic-youtube-video-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-youtube-video-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-youtube-video-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-youtube-video-posts/reviews/)

## Tags

 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 1 reply
 * 1 participant
 * Last reply from: [Mic_H](https://wordpress.org/support/users/mic_h/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-automatic-youtube-video-posts-plugin-posts-code-above-all-thumbnails/#post-3099293)
 * Status: resolved