Incompatible with wp functions – Plugin overwrite the_post_thumbnail function
-
Very great plugin thanks.
There is an incompatibility with WordPress standard functions.
If your plugin is active, then overwrites the standard the_post_thumbnail function of wordpress.
When I use this in my template:
the_post_thumbnail('my_thumbnail_teaser');
the result with your plugin not active is:
<img src="https://localhost/xxxxxx/wp-content/uploads/2016/12/xxxxx-550x200.jpg" class="attachment-my_thumbnail_teaser size-my_thumbnail_teaser wp-post-image" alt="" width="550" height="200">
But when your pugin is active then the result is:
<img src="https://localhost/xxxxxx/www/wp-content/uploads/image_carousel_thumbs/xxxxxx-550x200-n1cwcejhdhowie1ywtxrw432srvk5ckrml8l6pf8zo.jpg" class="attachment-my_thumbnail_teaser size-my_thumbnail_teaser wp-post-image" alt="" width="550" height="200">
Do you have a solution?
- The topic ‘Incompatible with wp functions – Plugin overwrite the_post_thumbnail function’ is closed to new replies.