Hello, recently I discovered that Photon interferes with the featured image functionality of my theme: https://wordpress.org/themes/tiny-framework
Featured image code I took from Twenty Ten or Twenty Eleven. Also I discovered that even Automattic themes had problems with that:
The Superhero change log says: “Don’t check image sizes before printing featured images; this causes conflicts with Jetpack and Photon.”
Could you advice what should I do to add compatibility? Can you provide code samples?
P.S. I found one possible solution, should I enclose header image code (featured image is displayed in header) inside this function?
Same function on Github: https://gist.github.com/robincornett/eb39947d13aa86501e49#file-photon-php
- The topic ‘How to add theme featured image compatibility for Photon’ is closed to new replies.