• 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.

    Schermata-2021-11-04-alle-18-37-19

    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.

    • This topic was modified 4 years, 5 months ago by steve92.
    • This topic was modified 4 years, 5 months ago by steve92.

The topic ‘Useless code’ is closed to new replies.