ClassicPress / site-www

Files for the site at www.classicpress.net
Other
2 stars 2 forks source link

Remove duplicate featured image in pages #16

Closed timbocode closed 4 years ago

timbocode commented 4 years ago

When a featured image is added to a page, it displays twice. This is because the function susty_wp_post_thumbnail(); appears in both page.php and template-parts/content-page.php. This fix removes the function from the latter.

Example:

duplicate-featured-images