Useless code
-
Today I updated the theme to v1.8.5, but in the file /template-parts/content-pages.php there is still this useless code:
<?php the_post_thumbnail(); ?>
This code creates a double image in the pages (not in the articles). This code must be removed.
If I remove the featured image in “edit page”, the highlighted image does not show, but I need to have the featured image as well.
- The topic ‘Useless code’ is closed to new replies.