From the list: Build ✔ Default featured image for posts Veronica A. added this on Oct 14, 2019 Completed Oct 14, 2019 by Kyle S. Assigned to Kyle S. Comments & Events Kyle Sullivan, Web Development I forgot a ternary. Here's what I put in /template-parts/homepage/news/single-news.php to fix this.<img src="<?= has_post_thumbnail() ? get_the_post_thumbnail_url() : get_field('default_featured_image', 'options')['url']; ?>" /> Oct 14, 2019 at 6:03 PM Notified 1 person Kyle Sullivan completed this to-do. Oct 14, 2019 at 6:03 PM
Kyle Sullivan, Web Development I forgot a ternary. Here's what I put in /template-parts/homepage/news/single-news.php to fix this.<img src="<?= has_post_thumbnail() ? get_the_post_thumbnail_url() : get_field('default_featured_image', 'options')['url']; ?>" /> Oct 14, 2019 at 6:03 PM Notified 1 person
<img src="<?= has_post_thumbnail() ? get_the_post_thumbnail_url() : get_field('default_featured_image', 'options')['url']; ?>" />