wordpress - Instant article and repeating image -
i received general warming:
general warnings: repeating cover image , first image: cover image , image '9iememaison.quebec_v1xi5heeg9_8dqdz.png' seem same or same image. please consider removing or replacing 1 of images.
so dug internet , found nothing - except this: https://wordpress.org/support/topic/same-image-displayed-twice
"i performed preg replace on function "get_the_content()" of "class-instant-articles-post.php" before returning variable $this->_content;"
but problem cover image , first image same. how either remove cover image, or rename first image in way wordpress , instant article thing? it's other image @ moment it's same image, because feature image on website , thumbnail generate , image use in post same. don't use different image, best way maybe making wordpress function that:
- copies image
- renames image
- puts link in post , if image update image also.
or maybe i'm going deep , there easier way fix this.i didn't find after checking instant article wp support, , looking through web.
the best way solve this, if have situation, disable cover image entirely hooking plugin.
this can apply if error/warning doesn't show. have found doesn't show warning when images pretty same, strange, when different in size same content/name.
haven't found solution disabling cover image. update if end having create one.
here's relevant thread: https://wordpress.org/support/topic/general-warningrepeating-cover-image-and-first-image/#post-8731646
and relevant github ticket: https://github.com/automattic/facebook-instant-articles-wp/issues/57
Comments
Post a Comment