function simone_the_responsive_thumbnail() removed
-
By removing the function simone_the_responsive_thumbnail() from the theme, any child theme using it will break with a fatal error.
May I suggest adding a fallback option to Simone to prevent this error?
For anyone reading this, adding this to your child theme functions.php prevents the fatal error, yet doesn’t display the image.
if ( !function_exists( 'simone_the_responsive_thumbnail' ) ) { function simone_the_responsive_thumbnail() { echo '<!-- removed from parent theme -->'; } }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘function simone_the_responsive_thumbnail() removed’ is closed to new replies.